Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/preset-stage-0

Package Overview
Dependencies
Maintainers
6
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/preset-stage-0 - npm Package Compare versions

Comparing version 7.0.0 to 7.8.0

9

package.json
{
"name": "@babel/preset-stage-0",
"version": "7.0.0",
"version": "7.8.0",
"description": "Babel preset for stage 0 plugins",

@@ -8,4 +8,9 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"license": "MIT",
"type": "commonjs",
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-preset-stage-0",
"main": "lib/index.js"
"main": "lib/index.js",
"gitHead": "2486615a74580283c49475d66067bd7fcab3330e"
}

@@ -11,3 +11,3 @@ # @babel/preset-stage-0

```json
```jsonc
{

@@ -36,3 +36,3 @@ "plugins": [

"@babel/plugin-syntax-import-meta",
["@babel/plugin-proposal-class-properties", { "loose": false }],
["@babel/plugin-proposal-class-properties", { "loose": true }],
"@babel/plugin-proposal-json-strings"

@@ -53,3 +53,3 @@ ]

[require("@babel/plugin-proposal-decorators"), { "legacy": true }],
[require("@babel/plugin-proposal-class-properties"), { "loose": false }],
[require("@babel/plugin-proposal-class-properties"), { "loose": true }],
],

@@ -62,1 +62,8 @@ presets: [

```
**NOTE: Compatibility between `@babel/plugin-proposal-class-properties` and `@babel/plugin-proposal-decorators`**
If you are including your plugins manually and using `@babel/plugin-proposal-class-properties`, make sure that `@babel/plugin-proposal-decorators` comes before `@babel/plugin-proposal-class-properties`.
When using the `legacy: true` option of `@babel/plugin-proposal-decorators`, `@babel/plugin-proposal-class-properties` must be used in `loose: true` mode.
If you are not using `@babel/plugin-proposal-decorators`, `loose` mode is not needed.

Sorry, the diff of this file is not supported yet

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