Socket
Socket
Sign inDemoInstall

@babel/plugin-syntax-decorators

Package Overview
Dependencies
Maintainers
5
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-syntax-decorators - npm Package Compare versions

Comparing version 7.0.0-rc.1 to 7.0.0-rc.2

6

lib/index.js

@@ -36,3 +36,7 @@ "use strict";

if (decoratorsBeforeExport !== undefined) {
if (decoratorsBeforeExport === undefined) {
if (!legacy) {
throw new Error("The '@babel/plugin-syntax-decorators' plugin requires a" + " 'decoratorsBeforeExport' option, whose value must be a boolean.");
}
} else {
if (legacy) {

@@ -39,0 +43,0 @@ throw new Error("'decoratorsBeforeExport' can't be used with legacy decorators.");

6

package.json
{
"name": "@babel/plugin-syntax-decorators",
"version": "7.0.0-rc.1",
"version": "7.0.0-rc.2",
"description": "Allow parsing of decorators",

@@ -12,3 +12,3 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-decorators",

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-rc.1"
"@babel/helper-plugin-utils": "7.0.0-rc.2"
},

@@ -19,4 +19,4 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "7.0.0-rc.1"
"@babel/core": "7.0.0-rc.2"
}
}
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