babel-preset-gatsby
Advanced tools
Comparing version 0.2.1-babel-deps.141 to 0.2.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.2.1](https://github.com/gatsbyjs/gatsby/compare/babel-preset-gatsby@0.2.0...babel-preset-gatsby@0.2.1) (2019-07-02) | ||
### Bug Fixes | ||
- enable separate config for node_modules transpilation ([#15270](https://github.com/gatsbyjs/gatsby/issues/15270)) ([7e39a12](https://github.com/gatsbyjs/gatsby/commit/7e39a12)) | ||
# [0.2.0](https://github.com/gatsbyjs/gatsby/compare/babel-preset-gatsby@0.1.11...babel-preset-gatsby@0.2.0) (2019-06-20) | ||
@@ -8,0 +14,0 @@ |
@@ -10,3 +10,2 @@ "use strict"; | ||
module.exports = function (api, options = {}) { | ||
const stage = options.stage || `test`; | ||
const absoluteRuntimePath = path.dirname(resolve(`@babel/runtime/package.json`)); | ||
@@ -27,3 +26,3 @@ return { | ||
exclude: [`transform-typeof-symbol`] | ||
}]].filter(Boolean), | ||
}]], | ||
plugins: [// Polyfills the runtime needed for async/await, generators, and friends | ||
@@ -38,3 +37,3 @@ // https://babeljs.io/docs/en/babel-plugin-transform-runtime | ||
// supports ES Modules. | ||
useESModules: stage !== `test`, | ||
useESModules: true, | ||
// Undocumented option that lets us encapsulate our runtime, ensuring | ||
@@ -45,4 +44,4 @@ // the correct version is used | ||
}], // Adds syntax support for import() | ||
resolve(`@babel/plugin-syntax-dynamic-import`)].filter(Boolean) | ||
resolve(`@babel/plugin-syntax-dynamic-import`)] | ||
}; | ||
}; |
@@ -62,3 +62,3 @@ "use strict"; | ||
corejs: false, | ||
helpers: stage === `develop`, | ||
helpers: stage === `develop` || stage === `test`, | ||
regenerator: true, | ||
@@ -65,0 +65,0 @@ useESModules: stage !== `test`, |
{ | ||
"name": "babel-preset-gatsby", | ||
"version": "0.2.1-babel-deps.141+a3070063a", | ||
"version": "0.2.1", | ||
"author": "Philipp Spiess <hello@philippspiess.com>", | ||
@@ -11,2 +11,3 @@ "dependencies": { | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/runtime": "^7.4.5", | ||
"babel-plugin-macros": "^2.4.2" | ||
@@ -26,3 +27,3 @@ }, | ||
"@babel/cli": "^7.0.0", | ||
"babel-preset-gatsby-package": "0.2.0", | ||
"babel-preset-gatsby-package": "^0.2.0", | ||
"cross-env": "^5.1.4" | ||
@@ -33,3 +34,3 @@ }, | ||
}, | ||
"gitHead": "a3070063a261a26c841a5281ac30593fcc86b7b8" | ||
"gitHead": "5d04fd9d063e84e350ada1d261c589a489f01d49" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
11358
0
8
98
+ Added@babel/runtime@^7.4.5