Socket
Socket
Sign inDemoInstall

web-encoding

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-encoding - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

7

package.json
{
"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

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