web-encoding
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "web-encoding", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "TextEncoder and TextDecoder APIs from Encoding Standard APIs in a universal package", | ||
@@ -13,3 +13,3 @@ "keywords": [ | ||
"module": "./src/lib.js", | ||
"browser": "./src/lib.js", | ||
"browser": "./src/lib.cjs", | ||
"types": "./src/lib.d.ts", | ||
@@ -37,2 +37,5 @@ "exports": { | ||
"homepage": "https://github.com/gozala/web-encoding", | ||
"dependencies": { | ||
"util": "^0.12.3" | ||
}, | ||
"devDependencies": { | ||
@@ -39,0 +42,0 @@ "assert": "^2.0.0", |
// In node `export { TextEncoder }` throws: | ||
// "Export 'TextEncoder' is not definedin module" | ||
// "Export 'TextEncoder' is not defined in module" | ||
// To workaround we first define constants and then export with as. | ||
@@ -4,0 +4,0 @@ const Encoder = TextEncoder |
@@ -8,4 +8,7 @@ { | ||
"scripts": { | ||
"test": "npm install && npx typescript --noEmit --allowJs --checkJs src/main.js" | ||
"test": "npm install && tsc --noEmit --allowJs --checkJs src/main.js" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.2.3" | ||
} | ||
} |
@@ -8,4 +8,7 @@ { | ||
"scripts": { | ||
"test": "npm install && npx typescript --noEmit --allowJs --checkJs src/main.js" | ||
"test": "npm install && tsc --noEmit --allowJs --checkJs src/main.js" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.2.3" | ||
} | ||
} |
@@ -8,4 +8,7 @@ { | ||
"scripts": { | ||
"test": "npm install && npx typescript --noEmit" | ||
"test": "npm install && tsc --noEmit" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.2.3" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1358618
29632
2
+ Addedutil@^0.12.3
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)