* Skip TSAsExpression when transforming spread in CallExpression * Create @babel/helper-get-call-context package * Support OptionalCallExpressions * Use helper in optional chaining plugin, and move tests * Update package.json files * Use dot notation to access property * Remove private method tests until future MR * Update packages/babel-plugin-transform-spread/package.json * Rename @babel/helper-get-call-context to @babel/helper-skip-transparent-expr-wrappers * Handle typed OptionalMemberExpressions * Make @babel/helper-skip-transparent-expr-wrappers a dependency * Support TSNonNullExpressions * Use named import instead of default * Add test for call context when parenthesized call expression has type * Improve handling of member expressions inside transparent expression wrappers * Add comment explaining what a transparent expression wrapper is * Add newlines to test fixtures * Pass correct parameter type to skipTransparentExprWrappers * Rename to babel-helper-skip-transparent-expression-wrappers * Remove getCallContext helper * Fixed exports key * Preserve types in babel-plugin-transform-spread tests * Use external-helpers to avoid inlining helper functions in tests Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
30 lines
706 B
JSON
30 lines
706 B
JSON
{
|
|
"name": "@babel/plugin-transform-spread",
|
|
"version": "7.10.4",
|
|
"description": "Compile ES2015 spread to ES5",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/babel/babel.git",
|
|
"directory": "packages/babel-plugin-transform-spread"
|
|
},
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"main": "lib/index.js",
|
|
"keywords": [
|
|
"babel-plugin"
|
|
],
|
|
"dependencies": {
|
|
"@babel/helper-plugin-utils": "^7.10.4",
|
|
"@babel/helper-skip-transparent-expression-wrappers": "7.9.6"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "^7.0.0-0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.4",
|
|
"@babel/helper-plugin-test-runner": "^7.10.4"
|
|
}
|
|
}
|