Socket
Socket
Sign inDemoInstall

eventsource-parser

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventsource-parser - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

.releaserc.json

7

dist/index.js

@@ -1,6 +0,1 @@

'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
function createParser(onParse) {

@@ -126,3 +121,3 @@ let isFirstChunk;

}
exports.createParser = createParser;
export { createParser };
//# sourceMappingURL=index.js.map
{
"name": "eventsource-parser",
"version": "0.1.0",
"version": "1.0.0",
"description": "Streaming, source-agnostic EventSource/Server-Sent Events parser",
"sideEffects": false,
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"module": "./dist/index.esm.js",
"main": "./dist/index.js",
"type": "module",
"exports": {

@@ -14,17 +11,18 @@ ".": {

"source": "./src/index.ts",
"require": "./dist/index.js",
"node": {
"import": "./dist/index.cjs.mjs",
"require": "./dist/index.js"
},
"import": "./dist/index.esm.js",
"default": "./dist/index.esm.js"
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"scripts": {
"build": "pkg-utils build --tsconfig tsconfig.dist.json",
"prebuild": "rimraf dist coverage",
"clean": "rimraf dist coverage",
"build": "pkg-utils build && pkg-utils --strict",
"prebuild": "npm run clean",
"lint": "eslint . && tsc --noEmit",
"test": "jest",
"test": "vitest --reporter=verbose",
"posttest": "npm run lint",

@@ -48,16 +46,16 @@ "prepublishOnly": "npm run build"

"devDependencies": {
"@sanity/pkg-utils": "^2.2.3",
"@types/jest": "^27.5.1",
"@types/node": "^12.0.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@sanity/pkg-utils": "^2.2.13",
"@sanity/semantic-release-preset": "^4.0.2",
"@types/node": "^14.18.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-sanity": "^5.1.0",
"jest": "^28.1.0",
"prettier": "^2.8.3",
"rimraf": "^4.1.2",
"prettier": "^2.8.6",
"rimraf": "^4.4.1",
"rollup-plugin-visualizer": "^5.9.0",
"ts-jest": "^28.0.2",
"typescript": "^4.9.4"
"semantic-release": "^20.1.3",
"typescript": "^4.9.5",
"vitest": "^0.29.7"
},

@@ -90,15 +88,3 @@ "bugs": {

]
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coverageDirectory": "coverage",
"coverageProvider": "v8",
"coverageReporters": [
"lcov"
],
"preset": "ts-jest",
"slowTestThreshold": 10,
"testTimeout": 30000
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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