engine.io-parser
Advanced tools
Comparing version 4.0.3 to 5.0.0
@@ -0,1 +1,7 @@ | ||
# [5.0.0](https://github.com/socketio/engine.io-parser/compare/4.0.3...5.0.0) (2021-10-04) | ||
This release includes the migration to TypeScript. The major bump is due to the new "exports" field in the package.json file. | ||
See also: https://nodejs.org/api/packages.html#packages_package_entry_points | ||
## [4.0.3](https://github.com/socketio/engine.io-parser/compare/4.0.2...4.0.3) (2021-08-29) | ||
@@ -2,0 +8,0 @@ |
@@ -5,4 +5,10 @@ { | ||
"license": "MIT", | ||
"version": "4.0.3", | ||
"main": "lib/index.js", | ||
"version": "5.0.0", | ||
"main": "./build/cjs/index.js", | ||
"module": "./build/esm/index.js", | ||
"exports": { | ||
"import": "./build/esm/index.js", | ||
"require": "./build/cjs/index.js" | ||
}, | ||
"types": "build/esm/index.d.ts", | ||
"homepage": "https://github.com/socketio/engine.io-parser", | ||
@@ -12,7 +18,6 @@ "devDependencies": { | ||
"@babel/preset-env": "~7.9.6", | ||
"babel-eslint": "^10.0.3", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "^16.9.6", | ||
"babelify": "^10.0.0", | ||
"benchmark": "^2.1.4", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"expect.js": "0.3.1", | ||
@@ -22,3 +27,7 @@ "mocha": "^5.2.0", | ||
"prettier": "^1.19.1", | ||
"rimraf": "^3.0.2", | ||
"socket.io-browsers": "^1.0.4", | ||
"ts-node": "^10.2.1", | ||
"tsify": "^5.0.4", | ||
"typescript": "^4.4.3", | ||
"zuul": "3.11.1", | ||
@@ -28,11 +37,11 @@ "zuul-ngrok": "4.0.0" | ||
"dependencies": { | ||
"base64-arraybuffer": "0.1.4" | ||
"base64-arraybuffer": "~1.0.1" | ||
}, | ||
"scripts": { | ||
"test": "npm run lint && npm run format:check && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", | ||
"test:node": "nyc mocha test/index.js", | ||
"test:browser": "zuul test/index.js --no-coverage", | ||
"format:check": "prettier --check 'lib/**/*.js' 'test/**/*.js'", | ||
"format:fix": "prettier --write 'lib/**/*.js' 'test/**/*.js'", | ||
"lint": "eslint 'lib/**/*.js' 'test/**/*.js'" | ||
"compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh", | ||
"test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi", | ||
"test:node": "nyc mocha -r ts-node/register test/index.ts", | ||
"test:browser": "zuul test/index.ts --no-coverage", | ||
"format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'", | ||
"format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'" | ||
}, | ||
@@ -44,11 +53,10 @@ "repository": { | ||
"files": [ | ||
"lib/" | ||
"build/" | ||
], | ||
"browser": { | ||
"./lib/encodePacket.js": "./lib/encodePacket.browser.js", | ||
"./lib/decodePacket.js": "./lib/decodePacket.browser.js" | ||
"./test/node": "./test/browser" | ||
}, | ||
"engines": { | ||
"node": ">=8.0.0" | ||
"node": ">=10.0.0" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
28243
24
480
17
1
+ Addedbase64-arraybuffer@1.0.2(transitive)
- Removedbase64-arraybuffer@0.1.4(transitive)
Updatedbase64-arraybuffer@~1.0.1