babel-plugin-filter-imports
Advanced tools
Comparing version 2.0.0 to 2.0.2
# Change Log | ||
## [v2.0.0](https://github.com/ember-cli/babel-plugin-filter-imports/tree/v2.0.0) (2018-04-30) | ||
[Full Changelog](https://github.com/ember-cli/babel-plugin-filter-imports/compare/v1.1.2...v2.0.0) | ||
**Merged pull requests:** | ||
- chore\(package\): update to Babel 7, drop NodeJS 4, use Yarn [\#39](https://github.com/ember-cli/babel-plugin-filter-imports/pull/39) ([layershifter](https://github.com/layershifter)) | ||
## [v1.1.2](https://github.com/ember-cli/babel-plugin-filter-imports/tree/v1.1.2) (2018-04-30) | ||
[Full Changelog](https://github.com/ember-cli/babel-plugin-filter-imports/compare/v1.1.1...v1.1.2) | ||
**Closed issues:** | ||
- Version 10 of node.js has been released [\#37](https://github.com/ember-cli/babel-plugin-filter-imports/issues/37) | ||
- An in-range update of eslint is breaking the build 🚨 [\#33](https://github.com/ember-cli/babel-plugin-filter-imports/issues/33) | ||
**Merged pull requests:** | ||
- chore\(package\): update deps and add NodeJS 10 to build matrix [\#38](https://github.com/ember-cli/babel-plugin-filter-imports/pull/38) ([layershifter](https://github.com/layershifter)) | ||
- chore\(package\): update deps [\#36](https://github.com/ember-cli/babel-plugin-filter-imports/pull/36) ([layershifter](https://github.com/layershifter)) | ||
- chore\(package\): update deps [\#34](https://github.com/ember-cli/babel-plugin-filter-imports/pull/34) ([layershifter](https://github.com/layershifter)) | ||
## [v1.1.1](https://github.com/ember-cli/babel-plugin-filter-imports/tree/v1.1.1) (2017-11-29) | ||
[Full Changelog](https://github.com/ember-cli/babel-plugin-filter-imports/compare/v1.1.0...v1.1.1) | ||
**Closed issues:** | ||
- TypeError: Cannot read property 'removed' of null [\#30](https://github.com/ember-cli/babel-plugin-filter-imports/issues/30) | ||
**Merged pull requests:** | ||
- fix\(plugin\): fix remover for ExportNamedDeclaration [\#31](https://github.com/ember-cli/babel-plugin-filter-imports/pull/31) ([layershifter](https://github.com/layershifter)) | ||
## [v1.1.0](https://github.com/ember-cli/babel-plugin-filter-imports/tree/v1.1.0) (2017-10-08) | ||
@@ -4,0 +36,0 @@ [Full Changelog](https://github.com/ember-cli/babel-plugin-filter-imports/compare/v1.0.4...v1.1.0) |
@@ -15,3 +15,5 @@ "use strict"; | ||
manipulateOptions: (opts, parserOptions) => { | ||
parserOptions.plugins.push('decorators'); | ||
parserOptions.plugins.push(['decorators', { | ||
decoratorsBeforeExport: true | ||
}]); | ||
parserOptions.plugins.push('exportDefaultFrom'); | ||
@@ -18,0 +20,0 @@ parserOptions.plugins.push('exportNamespaceFrom'); |
{ | ||
"name": "babel-plugin-filter-imports", | ||
"version": "2.0.0", | ||
"version": "2.0.2", | ||
"description": "A babel transform for filtering out imports", | ||
@@ -15,2 +15,6 @@ "main": "lib/index.js", | ||
"lint:fix": "prettier --write \"src/**/*.js\" \"test/test.js\" && eslint --fix \"src/**/*.js\" \"test/test.js\"", | ||
"prerelease": "yarn lint && yarn test && yarn clean && yarn build", | ||
"release:major": "yarn prerelease && release-it major", | ||
"release:minor": "yarn prerelease && release-it minor", | ||
"release:patch": "yarn prerelease && release-it patch", | ||
"test": "mocha --require @babel/register \"test/*.js\"", | ||
@@ -34,18 +38,19 @@ "test:watch": "yarn test --watch --watch-extensions js" | ||
"dependencies": { | ||
"@babel/types": "^7.0.0-beta.46", | ||
"@babel/types": "^7.0.0", | ||
"lodash": "^4.17.10" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.0.0-beta.46", | ||
"@babel/core": "^7.0.0-beta.46", | ||
"@babel/preset-env": "^7.0.0-beta.46", | ||
"@babel/register": "^7.0.0-beta.46", | ||
"babel-eslint": "^8.2.3", | ||
"eslint": "^4.19.1", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
"mocha": "^5.1.1", | ||
"prettier": "^1.12.1", | ||
"@babel/cli": "^7.0.0", | ||
"@babel/core": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/register": "^7.0.0", | ||
"babel-eslint": "^9.0.0", | ||
"eslint": "^5.4.0", | ||
"eslint-config-prettier": "^3.0.1", | ||
"eslint-plugin-prettier": "^2.6.2", | ||
"mocha": "^5.2.0", | ||
"prettier": "^1.14.2", | ||
"release-it": "^7.6.1", | ||
"rimraf": "^2.6.2" | ||
} | ||
} |
@@ -9,3 +9,3 @@ import _ from 'lodash' | ||
manipulateOptions: (opts, parserOptions) => { | ||
parserOptions.plugins.push('decorators') | ||
parserOptions.plugins.push(['decorators', { decoratorsBeforeExport: true }]) | ||
parserOptions.plugins.push('exportDefaultFrom') | ||
@@ -12,0 +12,0 @@ parserOptions.plugins.push('exportNamespaceFrom') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24922
256
12
1
Updated@babel/types@^7.0.0