babel-preset-proposal-typescript
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -5,2 +5,14 @@ # Changelog | ||
## [1.4.0](https://github.com/rx-ts/babel-preset-proposal-typescript/compare/v1.3.0...v1.4.0) (2019-09-07) | ||
### Bug Fixes | ||
* **deps:** bump babel which supports private static accessors ([eb1880d](https://github.com/rx-ts/babel-preset-proposal-typescript/commit/eb1880d)) | ||
### Features | ||
* enable v8intrinsic plugin ([7f83401](https://github.com/rx-ts/babel-preset-proposal-typescript/commit/7f83401)) | ||
## [1.3.0](https://github.com/rx-ts/babel-preset-proposal-typescript/compare/v1.2.6...v1.3.0) (2019-09-03) | ||
@@ -7,0 +19,0 @@ |
11
cjs.js
@@ -22,2 +22,12 @@ 'use strict'; | ||
var syntaxV8intrinsic = helperPluginUtils.declare((api, options) => { | ||
api.assertVersion(7); | ||
return { | ||
name: 'v8intrinsic', | ||
manipulateOptions(opts, parserOpts) { | ||
parserOpts.plugins.push('v8intrinsic'); | ||
}, | ||
} | ||
}); | ||
var index = helperPluginUtils.declare(function (api, opts) { | ||
@@ -41,2 +51,3 @@ api.assertVersion(7); | ||
], | ||
syntaxV8intrinsic, | ||
proposalClassProperties, | ||
@@ -43,0 +54,0 @@ proposalDoExpressions, |
@@ -18,2 +18,12 @@ import syntaxDecorators from '@babel/plugin-syntax-decorators'; | ||
var syntaxV8intrinsic = declare((api, options) => { | ||
api.assertVersion(7); | ||
return { | ||
name: 'v8intrinsic', | ||
manipulateOptions(opts, parserOpts) { | ||
parserOpts.plugins.push('v8intrinsic'); | ||
}, | ||
} | ||
}); | ||
var index = declare((api, opts) => { | ||
@@ -37,2 +47,3 @@ api.assertVersion(7); | ||
], | ||
syntaxV8intrinsic, | ||
proposalClassProperties, | ||
@@ -39,0 +50,0 @@ proposalDoExpressions, |
11
esm.js
@@ -18,2 +18,12 @@ import syntaxDecorators from '@babel/plugin-syntax-decorators'; | ||
var syntaxV8intrinsic = declare((api, options) => { | ||
api.assertVersion(7); | ||
return { | ||
name: 'v8intrinsic', | ||
manipulateOptions(opts, parserOpts) { | ||
parserOpts.plugins.push('v8intrinsic'); | ||
}, | ||
} | ||
}); | ||
var index = declare(function (api, opts) { | ||
@@ -37,2 +47,3 @@ api.assertVersion(7); | ||
], | ||
syntaxV8intrinsic, | ||
proposalClassProperties, | ||
@@ -39,0 +50,0 @@ proposalDoExpressions, |
{ | ||
"name": "babel-preset-proposal-typescript", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Yet another Babel preset for TypeScript, only transforms proposals which TypeScript does not support now.", | ||
@@ -8,2 +8,5 @@ "repository": "git@github.com/rx-ts/babel-preset-proposal-typescript.git", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=6.9.0" | ||
}, | ||
"main": "cjs.js", | ||
@@ -13,4 +16,4 @@ "module": "esm.js", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"lint": "EFF_NO_LINK_RULES=true eslint . --ext .js,.ts -f friendly", | ||
"build": "rollup -c node_modules/@1stg/rollup-config/module.js", | ||
"lint": "EFF_NO_LINK_RULES=true eslint . --ext js,md,ts -f friendly", | ||
"pretest": "yarn build", | ||
@@ -41,3 +44,3 @@ "test": "jest", | ||
"@babel/plugin-proposal-class-properties": "^7.5.5", | ||
"@babel/plugin-proposal-do-expressions": "^7.5.0", | ||
"@babel/plugin-proposal-do-expressions": "^7.6.0", | ||
"@babel/plugin-proposal-function-bind": "^7.2.0", | ||
@@ -48,6 +51,6 @@ "@babel/plugin-proposal-function-sent": "^7.5.0", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", | ||
"@babel/plugin-proposal-optional-chaining": "^7.2.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.6.0", | ||
"@babel/plugin-proposal-partial-application": "^7.4.4", | ||
"@babel/plugin-proposal-pipeline-operator": "^7.5.0", | ||
"@babel/plugin-proposal-private-methods": "^7.4.4", | ||
"@babel/plugin-proposal-private-methods": "^7.6.0", | ||
"@babel/plugin-proposal-throw-expressions": "^7.2.0", | ||
@@ -59,15 +62,17 @@ "@babel/plugin-syntax-decorators": "^7.2.0", | ||
"devDependencies": { | ||
"@1stg/eslint-config": "^0.6.0", | ||
"@1stg/eslint-config": "^0.9.1", | ||
"@1stg/husky-config": "^0.3.0", | ||
"@1stg/lint-staged": "^0.5.0", | ||
"@1stg/lint-staged": "^0.6.0", | ||
"@1stg/prettier-config": "^0.2.0", | ||
"@1stg/rollup-config": "^0.3.0", | ||
"@1stg/tsconfig": "^0.3.0", | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/preset-typescript": "^7.3.3", | ||
"@1stg/remark-config": "^0.2.1", | ||
"@1stg/rollup-config": "^0.7.0", | ||
"@1stg/tsconfig": "^0.5.0", | ||
"@babel/cli": "^7.6.0", | ||
"@babel/core": "^7.6.0", | ||
"@babel/parser": "^7.6.0", | ||
"@babel/preset-env": "^7.6.0", | ||
"@babel/preset-typescript": "^7.6.0", | ||
"@commitlint/cli": "^8.1.0", | ||
"@commitlint/config-conventional": "^8.1.0", | ||
"@types/babel__core": "^7.1.2", | ||
"@types/babel__core": "^7.1.3", | ||
"@types/jest": "^24.0.18", | ||
@@ -84,4 +89,5 @@ "babel-eslint": "^11.0.0-beta.0", | ||
"rollup": "^1.20.3", | ||
"tempy": "^0.3.0", | ||
"typescript": "^3.6.2" | ||
} | ||
} |
@@ -38,2 +38,3 @@ # babel-preset-proposal-typescript | ||
12. [throw-expressions](https://www.npmjs.com/package/@babel/plugin-proposal-throw-expressions) | ||
13. [v8intrinsic](./v8intrinsic.js) - [Further Detail](https://babeljs.io/blog/2019/09/05/7.6.0#v8-intrinsic-runtime-functions-parsing-10148-https-githubcom-babel-babel-pull-10148) | ||
@@ -40,0 +41,0 @@ ## Install |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20463
245
104
0
28