Packages

@babel/template

8.1.2 · 11 Nov 2026MIT284.4M / weekRepositoryHomepagenpmAtom feed

Your version

45 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 8.x · latest line
  2. 8.1.2

    11 Nov 2026
    • babel-template: fix: avoid retaining the call site (@JLHwung)

    • babel-plugin-transform-regenerator: fix(regenerator): only remove bindings declared by the hoisted declar… (@joellemd)

    • Other

  3. 8.0.0

    16 Jun 2026
  4. 7.x
  5. 7.29.7

    25 May 2026

    Re-release all packages with npm provenance attestations

  6. 7.28.6

    12 Jan 2026

    Thanks @kadhirash and @kolvian for your first PRs!

  7. 7.27.2

    6 May 2025
    • babel-plugin-transform-modules-commonjs, babel-template: fix(babel-template): Properly handle empty string replacements (@magic-akari)

  8. 7.27.1

    30 Apr 2025
    • babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Remove unused regenerator-runtime dep in @babel/runtime (@nicolo-ribaudo)

    • All packages

  9. 7.27.0

    24 Mar 2025
    • babel-parser, babel-template: Add allowYieldOutsideFunction to parser (@liuxingbaoyu)

  10. 7.26.9

    14 Feb 2025
  11. 7.26.8

    8 Feb 2025
    • babel-preset-env: Update dependency babel-plugin-polyfill-corejs3 to ^0.11.0

  12. 7.25.9

    22 Oct 2024
    • babel-parser, babel-template, babel-types: fix: Keep type annotations in syntacticPlaceholders mode (@liuxingbaoyu)

    • Other

    • babel-helper-transform-fixture-test-runner: remove test options flaky (@JLHwung)

  13. 7.25.7

    2 Oct 2024
  14. 7.25.0

    26 Jul 2024
    • babel-template, babel-types: fix: Props are lost when the template replaces the node (@liuxingbaoyu)

    • Other

  15. 7.24.7

    5 Jun 2024
    • babel-node: Allow extra flags in babel-node (@nicolo-ribaudo)

    • babel-traverse: fix: incorrect constantViolations with destructuring (@liuxingbaoyu)

    • babel-helper-transform-fixture-test-runner, babel-plugin-proposal-explicit-resource-management: fix: Transform using in switch correctly (@liuxingbaoyu)

  16. 7.24.6

    24 May 2024
    • Other

  17. 7.24.0

    28 Feb 2024

    Thanks @ajihyf for your first PR!

  18. 7.23.9

    25 Jan 2024
  19. 7.22.15

    4 Sep 2023
    • babel-core: Only perform config loading re-entrancy check for cjs (@nicolo-ribaudo)

    • Every package

  20. 7.22.5

    8 Jun 2023
    • babel-preset-env, babel-standalone: Fix using syntax-unicode-sets-regex in standalone (@nicolo-ribaudo)

    • babel-core: Suggest -transform- when resolving missing plugins (@nicolo-ribaudo)

  21. 7.21.9

    22 May 2023
    • babel-template: fix: Template export { x } stuck in infinite loop (@liuxingbaoyu)

  22. 7.20.7

    22 Dec 2022

    Thanks @wsypower for your first PR!

  23. 7.18.10

    1 Aug 2022
    • babel-plugin-transform-typescript: fix: TS declare class in namespace should be removed (@yimingjfe)

    • Other

    • babel-core, babel-parser: chore: remove flow check scripts (@JLHwung)

  24. 7.18.6

    27 Jun 2022
    • babel-generator, babel-parser, babel-preset-env, babel-template: JSON modules should be imported with default (@JLHwung)

    • Other

    • babel-code-frame, babel-core, babel-generator, babel-helper-annotate-as-pure, babel-helper-builder-binary-assignment-operator-visitor, babel-helper-builder-react-jsx, babel-helper-check-duplicate-nodes, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin, babel-helper-define-map, babel-helper-explode-assignable-expression, babel-helper-fixtures, babel-helper-function-name, babel-helper-hoist-variables, babel-helper-member-expression-to-functions, babel-helper-module-imports, babel-helper-module-transforms, babel-helper-optimise-call-expression, babel-helper-plugin-test-runner, babel-helper-plugin-utils, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-helper-simple-access, babel-helper-split-export-declaration, babel-helper-transform-fixture-test-runner, babel-helper-validator-option, babel-helper-wrap-function, babel-helpers, babel-highlight, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-external-helpers, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-static-block, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-function-bind, babel-plugin-proposal-function-sent, babel-plugin-proposal-json-strings, babel-plugin-proposal-object-rest-spread, babel-plugin-proposal-optional-chaining, babel-plugin-proposal-partial-application, babel-plugin-proposal-pipeline-operator, babel-plugin-proposal-private-property-in-object, babel-plugin-proposal-record-and-tuple, babel-plugin-syntax-typescript, babel-plugin-transform-block-scoped-functions, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-computed-properties, babel-plugin-transform-destructuring, babel-plugin-transform-duplicate-keys, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-plugin-transform-for-of, babel-plugin-transform-function-name, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-plugin-transform-object-super, babel-plugin-transform-parameters, babel-plugin-transform-property-mutators, babel-plugin-transform-proto-to-assign, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-display-name, babel-plugin-transform-react-inline-elements, babel-plugin-transform-react-jsx-compat, babel-plugin-transform-react-jsx-source, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-plugin-transform-unicode-escapes, babel-preset-env, babel-preset-typescript, babel-standalone, babel-template, babel-traverse, babel-types: enable noImplicitAny (@JLHwung)

  25. 7.16.7

    31 Dec 2021

    Thanks @exb for your first PR!

  26. 7.16.0

    29 Oct 2021
    • Other

    • Every package

    • Other

  27. 7.15.4

    2 Sep 2021
    • Allow "latest" as ecmaVersion (@fisker)

    • babel-core: fix: non breaking align options naming (@fedeci)

    • babel-core, babel-generator, babel-helper-annotate-as-pure, babel-helper-builder-binary-assignment-operator-visitor, babel-helper-builder-react-jsx, babel-helper-define-map, babel-helper-explode-assignable-expression, babel-helper-function-name, babel-helper-get-function-arity, babel-helper-hoist-variables, babel-helper-member-expression-to-functions, babel-helper-module-imports, babel-helper-module-transforms, babel-helper-optimise-call-expression, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-helper-simple-access, babel-helper-skip-transparent-expression-wrappers, babel-helper-split-export-declaration, babel-helper-wrap-function, babel-helpers, babel-preset-env, babel-template, babel-traverse: Use named imports for babel types (@JLHwung)

  28. 7.14.5

    9 Jun 2021
    • babel-plugin-proposal-do-expressions, babel-traverse: fix: hoist variable declaration within do block (@JLHwung)

    • babel-parser: Relax import assertion key-is-type constraint (@JLHwung)

    • babel-parser: fix(parser): correctly parse record and tuple tokens (@fedeci)

  29. 7.12.13

    3 Feb 2021
    • babel-parser, babel-template: Permit %%placeholder%% in left-hand-side of a let declaration (@Zalathar)

    • Other

    • Every package

  30. 7.12.7

    20 Nov 2020
    • Other

  31. 7.10.4

    30 Jun 2020

    Thanks @penguingovernor, @sajadtorkamani and @wojtekmaj for their first PRs!

  32. 7.10.3

    19 Jun 2020
    • babel-template: Allow templates to parse v8intrinsics (@jridgewell)

    • Other

  33. 7.10.1

    27 May 2020
    • babel-preset-env: [hotfix] Use same targets for fields as for private methods (@nicolo-ribaudo)

    • babel-standalone: Fix standalone tag when data-type is not set. (@dfabulich)

    • Every package

  34. 7.10.0

    26 May 2020
    • Other

    • babel-core, babel-generator, babel-helper-compilation-targets, babel-helpers, babel-parser, babel-plugin-proposal-decorators, babel-plugin-proposal-json-strings, babel-plugin-transform-block-scoping, babel-plugin-transform-flow-comments, babel-plugin-transform-modules-systemjs, babel-plugin-transform-react-jsx-source, babel-plugin-transform-runtime, babel-preset-env, babel-standalone, babel-template, babel-traverse, babel-types: Use ?. where it represents the intended semantics (@nicolo-ribaudo)

  35. 7.8.6

    27 Feb 2020
    • babel-traverse: fix @babel/traverse can't use path.remove() with noScope (@liuxingbaoyu)

    • babel-template: Respect preserveComments option in tempate.ast() (@dentrado)

    • Other

  36. 7.8.3

    13 Jan 2020
    • Every package

  37. 7.8.0

    12 Jan 2020
    • Other

    • babel-parser: refactor: remove inClassProperty parser state (@JLHwung)

    • Other

  38. 7.7.4

    22 Nov 2019
    • babel-cli: Babel should not silently remove unknown options after commander arguments. (@JLHwung)

    • Other

  39. 7.7.0

    5 Nov 2019
    • babel-plugin-transform-modules-systemjs: fix: remove ExportNamedDeclaration when the specifier is empty. (@JLHwung)

    • babel-core: Fix: inputSourceMap should work when it is an external file. (@JLHwung)

    • babel-core: fix: remove filename annotation in buildCodeFrameError. (@JLHwung)

  40. 7.6.0

    6 Sep 2019
    • babel-plugin-proposal-do-expressions, babel-traverse: Do expressions transform for switch statements (@tanhauhau)

    • babel-plugin-proposal-do-expressions, babel-traverse: remove finally from completion record in try statement (@tanhauhau)

    • babel-register: Remove core-js dependency from @babel/register (@coreyfarrell)

  41. 7.4.4

    26 Apr 2019
    • babel-plugin-transform-flow-comments: fix flow-comments - class type paramters and implements (@tanhauhau)

    • babel-plugin-transform-flow-comments: fix flow-comment - object destructuring (@tanhauhau)

    • babel-parser: Add TS support to @babel/parser's Scope (@nicolo-ribaudo)

  42. 7.4.0

    19 Mar 2019
    • babel-template: Add %%placeholders%% support to @babel/template (@nicolo-ribaudo)

    • babel-parser: Remove input and length from state (@danez)

    • babel-parser: Reorganize token types and use a map for them (@danez)

  43. 7.2.2

    15 Dec 2018
    • Other

    • babel-core, babel-parser, babel-template: Fix running flow on travis and update flow. (@danez)

  44. 7.1.2

    28 Sep 2018
  45. 7.1.1

    28 Sep 2018
    • Other

  46. 7.1.0

    17 Sep 2018
    • Other

    • Other

  47. 7.0.0

    27 Aug 2018

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.