engine.io-parser
Advanced tools
Comparing version 5.0.4 to 5.0.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.decode = exports.encode = void 0; | ||
// imported from https://github.com/socketio/base64-arraybuffer | ||
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; | ||
@@ -5,0 +6,0 @@ // Use a lookup table to find the index. |
@@ -39,3 +39,3 @@ "use strict"; | ||
const content = fileReader.result.split(",")[1]; | ||
callback("b" + content); | ||
callback("b" + (content || "")); | ||
}; | ||
@@ -42,0 +42,0 @@ return fileReader.readAsDataURL(data); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"main": "./build/cjs/index.js", | ||
@@ -8,0 +8,0 @@ "module": "./build/esm/index.js", |
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
28648
560