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

acorn-import-assertions

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-import-assertions - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "acorn-import-assertions",
"version": "1.0.0",
"version": "1.1.0",
"description": "Support for import assertions in acorn",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -9,3 +9,3 @@ # Support for import assertions in acorn

const {Parser} = require('acorn');
const importAssertions = require('acorn-import-assertions');
const {importAssertions} = require('acorn-import-assertions');
Parser.extend(importAssertions).parse('...');

@@ -12,0 +12,0 @@ ```

@@ -5,3 +5,3 @@ import { tokTypes as tt, TokenType } from "acorn";

export default function dynamicImport(Parser) {
export default function importAssertions(Parser) {
return class extends Parser {

@@ -8,0 +8,0 @@ constructor(...args) {

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