New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-gatsby

Package Overview
Dependencies
Maintainers
10
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-gatsby - npm Package Compare versions

Comparing version 0.2.1-babel-deps.141 to 0.2.1

6

CHANGELOG.md

@@ -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 @@

7

dependencies.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc