npm @babel/preset-typescript 7.0.0-beta.41
v7.0.0-beta.41

latest releases: 8.0.0-alpha.11, 7.24.7, 8.0.0-alpha.10...
6 years ago

v7.0.0-beta.41 (2018-03-14)

💥 Breaking Change

  • babel-cli, babel-core, babel-generator, babel-helper-transform-fixture-test-runner
    • #7500 Remove the sourceMapTarget option from core and implement it in babel-cli.. (@loganfsmyth)

We'll need to update tooling for this ^. Also published gulp-babel@8.0.0-beta.2

  • babel-helpers, babel-plugin-transform-modules-commonjs, babel-traverse
    • #7491 Explicitly throw if the array rest/spread items are not iterable.. (@loganfsmyth)
  • babylon
  • babel-helper-remap-async-to-generator, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-async-to-generator, babel-preset-env
    • #7446 Always transform for-await in async functions[rebase of #6953].. (@Gvozd)
  • babel-core, babel-helper-module-imports, babel-helper-transform-fixture-test-runner, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd, babel-preset-env-standalone, babel-preset-env, babel-standalone
    • #7417 Rely entirely on sourceType for module vs script differentiation.. (@loganfsmyth)
  • babel-core, babel-helpers, babel-plugin-transform-modules-commonjs
  • babel-register
    • #7416 Replace instead of merging babel-register options, and resolve cwd up front. (@loganfsmyth)

👓 Spec Compliancy

🚀 New Feature

  • babel-core
    • #7472 Expose the partial Babel config for callers to load and mutate.. (@loganfsmyth)
  • babel-*
    • #7450 Allow plugins to assert that a specific babel version has loaded the plugin.. (@loganfsmyth)
  • babel-cli, babel-preset-env
    • #7439 feat(babel-cli): add a brief summary to build output. (@thymikee)
  • babel-generator, babel-plugin-transform-typescript, babel-types, babylon
    • #7159 typescript: Support definite assignment assertion. (@andy-ms)
  • babel-generator, babel-types, babylon
  • babel-core, babel-plugin-proposal-logical-assignment-operators, babel-plugin-syntax-logical-assignment-operators, babel-preset-stage-0, babylon

🐛 Bug Fix

  • babel-core
  • babel-preset-env
    • #7548 preset-env - add Symbol.asyncIterator to shippedProposals builtIns. (@yaelhe)
    • #7421 Add Number.parseFloat/parseInt mappins for preset-env 'usage'. (@existentialism)
    • #7438 Ensure babel-preset-env targets input object is not mutated. (@guybedford)
    • #7400 Add missing promise polyfill deps for preset-env's useBuiltIns: usage. (@existentialism)
  • babylon
  • babel-plugin-transform-destructuring
    • #7333 Assign another temp var when parsing assignment patterns in destructuring. (@existentialism)
  • babel-helpers, babel-plugin-transform-modules-commonjs, babel-traverse
    • #7491 Explicitly throw if the array rest/spread items are not iterable.. (@loganfsmyth)
  • babel-node
  • babel-helper-remap-async-to-generator, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-async-to-generator, babel-preset-env
    • #7446 Always transform for-await in async functions[rebase of #6953].. (@Gvozd)
  • babel-cli
    • #7461 Require users to pass a filename, or specify --no-babelrc when using CLI with stdin.. (@loganfsmyth)
  • babel-helper-module-transforms, babel-plugin-transform-modules-commonjs
  • babel-plugin-proposal-object-rest-spread
  • babel-helpers, babel-plugin-proposal-object-rest-spread, babel-preset-env

💅 Polish

  • babel-generator
    • #7550 Replace lodash/map with array equivalent. (@danez)
  • babylon
    • #7538 Make 'sourceType:unambiguous' use 'module' when import.meta is used.. (@loganfsmyth)
  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-parameters
  • babel-core, babel-plugin-transform-modules-commonjs, babylon
  • babel-core
  • babel-plugin-transform-async-to-generator, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-jsx, babel-traverse
  • babel-helpers, babel-plugin-transform-modules-commonjs, babel-plugin-transform-template-literals

📝 Documentation

  • README.md
    • #7496 Docs: Use namespace packages in all links. (@danez)
  • babel-plugin-transform-typescript
    • #7469 TS transform plugin README updatex2. (@orta)
    • #7443 Update README for Babel TypeScript Plugin. (@orta)
  • babel-generator

🏠 Internal

  • Other
  • babel-preset-env
  • babel-core, babel-helper-transform-fixture-test-runner
  • babel-helper-transform-fixture-test-runner
  • babel-register
  • babel-*
    • #7484 Require tests to use input.mjs for modules, and output.js/.mjs based on active transforms. (@loganfsmyth)
  • babel-code-frame
  • babel-cli, babel-code-frame, babel-core, babel-helper-transform-fixture-test-runner, babel-preset-env-standalone, babel-preset-env, babel-register, babel-standalone, babel-traverse, babel-types
  • babel-types, babylon
  • babel-template, babel-types, babylon
  • babel-helper-module-transforms, babel-helper-split-export-declaration, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-traverse

Committers: 24

Don't miss a new preset-typescript release

NewReleases is sending notifications on new releases.