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

@babel/plugin-syntax-import-attributes

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-syntax-import-attributes - npm Package Compare versions

Comparing version 7.24.7 to 7.25.6

5

lib/index.js

@@ -23,2 +23,7 @@ "use strict";

(_generatorOpts$import = generatorOpts.importAttributesKeyword) != null ? _generatorOpts$import : generatorOpts.importAttributesKeyword = "with";
const importAssertionsPluginIndex = parserOpts.plugins.indexOf("importAssertions");
if (importAssertionsPluginIndex !== -1) {
parserOpts.plugins.splice(importAssertionsPluginIndex, 1);
deprecatedAssertSyntax = true;
}
parserOpts.plugins.push(["importAttributes", {

@@ -25,0 +30,0 @@ deprecatedAssertSyntax: Boolean(deprecatedAssertSyntax)

7

package.json
{
"name": "@babel/plugin-syntax-import-attributes",
"version": "7.24.7",
"version": "7.25.6",
"description": "Allow parsing of the module attributes in the import statement",

@@ -19,3 +19,3 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.24.7"
"@babel/helper-plugin-utils": "^7.24.8"
},

@@ -26,3 +26,4 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.24.7"
"@babel/core": "^7.25.2",
"@babel/helper-plugin-test-runner": "^7.24.7"
},

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

@@ -15,4 +15,7 @@ /* This file is automatically generated by scripts/generators/tsconfig.js */

"path": "../../packages/babel-helper-plugin-utils"
},
{
"path": "../../packages/babel-core"
}
]
}

Sorry, the diff of this file is not supported yet

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