acorn-import-assertions
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"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) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9391