babel-plugin-dynamic-import-node
Advanced tools
Comparing version 1.0.1 to 1.0.2
## Unreleased | ||
## v1.0.2 | ||
- [Fix] Ensure it works with the ES2015 preset too (#12, #16) | ||
- [Deps] update `babel-template`, `babel-types` | ||
- [Dev Deps] update `babel-cli`, `babel-core`, `babel-eslint`, `babel-register`, `eslint`, `eslint-config-airbnb-base`, `mocha` | ||
## v1.0.1 | ||
@@ -4,0 +9,0 @@ - [Fix] Move `in-publish` to devDeps (#11) |
@@ -35,3 +35,3 @@ Object.defineProperty(exports, "__esModule", { | ||
var newImport = buildImport({ | ||
SOURCE: t.isStringLiteral(importArgument) || t.isTemplateLiteral(importArgument) ? path.node.arguments : t.templateLiteral([t.templateElement({ raw: '' }), t.templateElement({ raw: '' }, true)], path.node.arguments) | ||
SOURCE: t.isStringLiteral(importArgument) || t.isTemplateLiteral(importArgument) ? path.node.arguments : t.templateLiteral([t.templateElement({ raw: '', cooked: '' }), t.templateElement({ raw: '', cooked: '' }, true)], path.node.arguments) | ||
}); | ||
@@ -38,0 +38,0 @@ path.replaceWith(newImport); |
{ | ||
"name": "babel-plugin-dynamic-import-node", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Babel plugin to transpile import() to a deferred require(), for node", | ||
@@ -44,13 +44,14 @@ "main": "lib/index.js", | ||
"airbnb-js-shims": "^1.1.1", | ||
"babel-cli": "^6.24.0", | ||
"babel-core": "^6.24.0", | ||
"babel-eslint": "^7.1.1", | ||
"babel-cli": "^6.24.1", | ||
"babel-core": "^6.24.1", | ||
"babel-eslint": "^7.2.3", | ||
"babel-plugin-transform-es2015-template-literals": "^6.22.0", | ||
"babel-preset-airbnb": "^2.2.3", | ||
"babel-register": "^6.24.0", | ||
"babel-register": "^6.24.1", | ||
"chai": "^3.5.0", | ||
"eslint": "^3.18.0", | ||
"eslint-config-airbnb-base": "^11.1.1", | ||
"eslint": "^3.19.0", | ||
"eslint-config-airbnb-base": "^11.1.3", | ||
"eslint-plugin-import": "^2.2.0", | ||
"in-publish": "^2.0.0", | ||
"mocha": "^3.2.0", | ||
"mocha": "^3.3.0", | ||
"rimraf": "^2.6.1", | ||
@@ -61,5 +62,5 @@ "safe-publish-latest": "^1.1.1" | ||
"babel-plugin-syntax-dynamic-import": "^6.18.0", | ||
"babel-template": "^6.23.0", | ||
"babel-types": "^6.23.0" | ||
"babel-template": "^6.24.1", | ||
"babel-types": "^6.24.1" | ||
} | ||
} |
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
7331
0
15
Updatedbabel-template@^6.24.1
Updatedbabel-types@^6.24.1