Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stripe-node v7.0.0 #606

Merged
merged 14 commits into from
May 14, 2019
Merged

stripe-node v7.0.0 #606

merged 14 commits into from
May 14, 2019

Commits on May 14, 2019

  1. Configuration menu
    Copy the full SHA
    2a41c0a View commit details
    Browse the repository at this point in the history
  2. Format using Prettier

    tmp
    irace-stripe authored and rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    741bc6e View commit details
    Browse the repository at this point in the history
  3. Alphabetize basic methods

    irace-stripe authored and rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    7ab1215 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8239af2 View commit details
    Browse the repository at this point in the history
  5. Fix typo

    irace-stripe authored and rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    cb58d84 View commit details
    Browse the repository at this point in the history
  6. Modernize ES5 to ES6 with lebab (#607)

    * Add lebab and a script to run it
    
    * lebab transform: arrow
    
    * lebab transform: arg-rest
    
    * lebab transform: arg-spread
    
    * lebab transform: obj-method
    
    * lebab transform: obj-shorthand
    
    * lebab transform: let
    
    * lebab transform: template
    
    * lebab transform: default-param
    
    * lebab transform: destruct-param
    
    * lebab transform: includes
    
    * Revert "Add lebab and a script to run it"
    
    This reverts commit 70fd492.
    
    * Revert "lebab transform: destruct-param" because its changes didn't seem good.
    
    This  reverts commit b56f52d.
    
    * Revert "lebab transform: default-param" because it seems dangerous / backwards-incompatible.
    
    This reverts commit 7eba992.
    
    * Unrelated: mark 8.1 as minimum 8-series version
    
    * Add mocha-only script
    
    * Use arrows in more places
    
    * Loosen some eslint rules I don't love
    rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    602dc63 View commit details
    Browse the repository at this point in the history
  7. Remove deprecated methods

    ob-stripe authored and rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    e9959c7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2712a3a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    675c8c0 View commit details
    Browse the repository at this point in the history
  10. Misc. manual formatting (#623)

    * Misc. manual formatting
    
    * Fix some unit tests
    
    * Roll back path argument name changes
    
    * Misc. manual formatting
    irace-stripe authored and rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    f9592c9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4af9522 View commit details
    Browse the repository at this point in the history
  12. Remove "curried" nested resources and manually specified urlParams (#625

    )
    
    * Drop support for optional url params
    
    * Delete nested resource files
    
    * Remove urlData
    
    * Extract urlParams from path instead of manual definition
    
    Verified this is no different with:
    
    ```js
    const urlParams = utils.extractUrlParams(spec.path || '');
    if (
      !(spec.urlParams || []).every((x, i) => urlParams[i] === x) ||
      (spec.urlParams || []).length !== urlParams.length
    ) {
      throw Error(
        'mismatch' + JSON.stringify(urlParams) + JSON.stringify(spec.urlParams)
      );
    }
    ```
    
    inside StripeMethod
    
    * Remove manually specified urlParams
    
    * Add a deprecation error message
    
    * Revert "Delete nested resource files"
    
    This reverts commit d88a3e7.
    
    * Fix nested resources for non-curried urlParams and update tests to demonstrate their use
    
    * Refactor makeRequest
    
    * Revert "Revert "Delete nested resource files""
    
    This reverts commit e5eccb8.
    rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    3c99464 View commit details
    Browse the repository at this point in the history
  13. Extract resources file (to aid with code generation) (#626)

    * Extract separate resources file (to aid with code generation)
    
    * Remove resources that were removed in #625
    
    https://github.com/stripe/stripe-node/pull/625/files#diff-d3dd6c4fd6f915f29d42e4081dc817a8L85
    irace-stripe authored and rattrayalex-stripe committed May 14, 2019
    Configuration menu
    Copy the full SHA
    58c3ded View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cdea81a View commit details
    Browse the repository at this point in the history