@metamask/safe-event-emitter
Advanced tools
Comparing version 3.0.0 to 3.1.0
{ | ||
"name": "@metamask/safe-event-emitter", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "An EventEmitter that isolates the emitter from errors in handlers", | ||
"main": "index.js", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"types": "dist/cjs/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"publishConfig": { | ||
@@ -11,5 +26,3 @@ "registry": "https://registry.npmjs.org/", | ||
"files": [ | ||
"index.js", | ||
"index.d.ts", | ||
"index.js.map" | ||
"dist" | ||
], | ||
@@ -25,3 +38,6 @@ "repository": { | ||
"prepublishOnly": "yarn build", | ||
"build": "tsc --project .", | ||
"build": "yarn build:cjs && yarn build:esm", | ||
"build:cjs": "tsc --project .", | ||
"build:esm": "tsc --project tsconfig.esm.json && yarn build:esm:rename", | ||
"build:esm:rename": "./scripts/rename-esm.sh", | ||
"test": "jest", | ||
@@ -28,0 +44,0 @@ "lint": "eslint . --ext .ts,.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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
23037
15
277