engine.io-parser
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -0,1 +1,2 @@ | ||
// imported from https://github.com/socketio/base64-arraybuffer | ||
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; | ||
@@ -2,0 +3,0 @@ // Use a lookup table to find the index. |
@@ -37,3 +37,3 @@ import { PACKET_TYPES } from "./commons.js"; | ||
const content = fileReader.result.split(",")[1]; | ||
callback("b" + content); | ||
callback("b" + (content || "")); | ||
}; | ||
@@ -40,0 +40,0 @@ return fileReader.readAsDataURL(data); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"main": "./build/cjs/index.js", | ||
@@ -40,3 +40,4 @@ "module": "./build/esm/index.js", | ||
"format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'", | ||
"format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'" | ||
"format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'", | ||
"prepack": "npm run compile" | ||
}, | ||
@@ -43,0 +44,0 @@ "repository": { |
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
28754
561