Socket
Socket
Sign inDemoInstall

@babel/plugin-syntax-decorators

Package Overview
Dependencies
1
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0 to 7.1.0

6

lib/index.js

@@ -28,6 +28,2 @@ "use strict";

if (legacy !== true) {
throw new Error("The new decorators proposal is not supported yet." + ' You must pass the `"legacy": true` option to' + " @babel/plugin-syntax-decorators");
}
const {

@@ -39,3 +35,3 @@ decoratorsBeforeExport

if (!legacy) {
throw new Error("The '@babel/plugin-syntax-decorators' plugin requires a" + " 'decoratorsBeforeExport' option, whose value must be a boolean.");
throw new Error("The '@babel/plugin-syntax-decorators' plugin requires a" + " 'decoratorsBeforeExport' option, whose value must be a boolean." + " If you want to use the legacy decorators semantics, you can set" + " the 'legacy: true' option.");
}

@@ -42,0 +38,0 @@ } else {

5

package.json
{
"name": "@babel/plugin-syntax-decorators",
"version": "7.0.0",
"version": "7.1.0",
"description": "Allow parsing of decorators",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-decorators",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"main": "lib/index.js",

@@ -8,0 +11,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc