Socket
Socket
Sign inDemoInstall

@babel/plugin-syntax-decorators

Package Overview
Dependencies
1
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-alpha.6 to 8.0.0-alpha.7

6

lib/index.js
import { declare } from '@babel/helper-plugin-utils';
var index = declare((api, options) => {
api.assertVersion("8.0.0-alpha.6");
api.assertVersion("8.0.0-alpha.7");
let {

@@ -10,5 +10,5 @@ version

if (version === undefined) {
throw new Error("The decorators plugin requires a 'version' option, whose value must be one of: " + "'2023-05', '2023-01', '2022-03', '2021-12', '2018-09', or 'legacy'.");
throw new Error("The decorators plugin requires a 'version' option, whose value must be one of: " + "'2023-11', '2023-05', '2023-01', '2022-03', '2021-12', '2018-09', or 'legacy'.");
}
if (version !== "2023-05" && version !== "2023-01" && version !== "2022-03" && version !== "2021-12" && version !== "legacy") {
if (version !== "2023-11" && version !== "2023-05" && version !== "2023-01" && version !== "2022-03" && version !== "2021-12" && version !== "legacy") {
throw new Error("Unsupported decorators version: " + version);

@@ -15,0 +15,0 @@ }

{
"name": "@babel/plugin-syntax-decorators",
"version": "8.0.0-alpha.6",
"version": "8.0.0-alpha.7",
"description": "Allow parsing of decorators",

@@ -20,9 +20,9 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^8.0.0-alpha.6"
"@babel/helper-plugin-utils": "^8.0.0-alpha.7"
},
"peerDependencies": {
"@babel/core": "^8.0.0-alpha.6"
"@babel/core": "^8.0.0-alpha.7"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.6"
"@babel/core": "^8.0.0-alpha.7"
},

@@ -29,0 +29,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc