Packages

@babel/helper-call-delegate

7.12.13 · 3 Feb 2021MIT576.6k / weekRepositoryHomepagenpmAtom feed

Your version

7.4.0

19 Mar 2019Where it was published

7.12.13 is the newest release of 7.x.

In short

7 new4 fixed9 changed49 internal

Release note

:eyeglasses: Spec Compliance

  • babel-parser

    • Add readonly to TypeScript type modifier (@tanhauhau)

    • TypeScript Constant contexts (@tanhauhau)

    • Update identifier parsing per Unicode v12 (@mathiasbynens)

    • Allow any reserved word in export {} from specifiers (@danez)

    • [TS] Disallow type casts in arrow parameters (@nicolo-ribaudo)

    • Refactor parsing object members (@danez)

    • Disallow duplicate params in methods (@danez)

    • Treat for loop body as part of loop scope (@danez)

  • babel-parser, babel-plugin-transform-typescript

    • Allow context type annotation on getters/setters (@matt-tingen)

  • babel-plugin-proposal-unicode-property-regex, babel-plugin-transform-dotall-regex, babel-plugin-transform-unicode-regex

    • Update babel-plugin-proposal-unicode-property-regex for Unicode v12 (@mathiasbynens)

  • babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-plugin-transform-modules-systemjs

    • Check exported bindings are defined (@danez)

  • babel-generator, babel-parser, babel-plugin-transform-classes, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-plugin-transform-new-target

    • Introduce scope tracking in the parser (@danez)

:rocket: New Feature

  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-polyfill, babel-preset-env, babel-register, babel-runtime-corejs2, babel-runtime-corejs3

  • babel-template

  • babel-parser, babel-plugin-proposal-partial-application

    • Partial application plugin (@byara)

  • babel-generator, babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-private-methods

    • Private Static Class Methods (Stage 3) (@tim-mc)

  • babel-generator, babel-types

    • Add placeholders support to @babel/types and @babel/generator (@nicolo-ribaudo)

  • babel-parser

  • babel-generator, babel-parser, babel-plugin-syntax-partial-application, babel-types

    • Partial Application Syntax: Stage 1 (@byara)

:bug: Bug Fix

  • babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-plugin-proposal-private-methods

    • Fix super Method Calls in Class Private Methods (@tim-mc)

  • babel-parser

    • Correctly parse TS TypeAssertions around arrow functions (@danez)

    • Fix scope check for 2nd+ lexical bindings (@danez)

    • [TS] Correctly forget awaits after parsing async arrows with type args (@nicolo-ribaudo)

    • Fix strict mode prescanning with EmptyStatement (@danez)

  • babel-core, babel-plugin-transform-for-of

    • Correctly preserve reference to array in for-of loop (@danez)

  • babel-plugin-transform-typescript

    • [plugin-transform-typescript] Fix transpiling of TS abstract classes with decorators (@agoldis)

  • babel-traverse, babel-types

    • Fix TSFunctionType visitors definition (@penielse)

  • babel-plugin-proposal-object-rest-spread

    • [proposal-object-rest-spread] fix templateLiteral in extractNormalizedKeys (@pnowak)

  • babel-plugin-transform-modules-systemjs

    • System modules - Hoist classes like other variables (@guybedford)

  • babel-generator, babel-parser

    • Disallow escape sequences in contextual keywords (@danez)

  • babel-helper-split-export-declaration, babel-plugin-transform-modules-commonjs, babel-traverse

    • Don't add params of anonymous exported function decls to the outer scope (@nicolo-ribaudo)

  • babel-plugin-transform-parameters, babel-plugin-transform-typescript, babel-types

    • [plugin-transform-typescript] Strip type imports used in Enums and object types (@echenley)

  • babel-helper-call-delegate, babel-plugin-transform-parameters

  • babel-plugin-proposal-object-rest-spread, babel-plugin-transform-modules-commonjs, babel-traverse, babel-types

    • Mark FOO in "var { x: FOO }˝ as a binding, not as a reference (@nicolo-ribaudo)

  • babel-preset-env

    • preset-env: Sort versions before determining lowest (@jridgewell)

  • babel-helper-define-map, babel-helper-hoist-variables, babel-parser, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-block-scoping, babel-plugin-transform-destructuring, babel-plugin-transform-modules-systemjs, babel-traverse, babel-types

:nail_care: Polish

  • babel-parser

    • Remove input and length from state (@danez)

    • Reorganize token types and use a map for them (@danez)

    • Remove always false param allowExpressionBody (@danez)

  • babel-standalone, babel-types

    • Make babel-standalone an ESModule and enable flow (@danez)

  • babel-generator

:house: Internal

  • Other

    • Publish to npm using a GitHub action (@nicolo-ribaudo)

    • Switch from rollup-stream to rollup (@danez)

    • Add WarningsToErrorsPlugin to webpack to avoid missing build problems on CI (@danez)

    • Update dependencies (@danez)

    • Add editorconfig for Makefile (@danez)

    • Update test262 (@danez)

    • Minify bundles on circle for repl (@danez)

  • babel-register

    • Remove dependency on home-or-tmp package (@AmirS)