strict-event-emitter
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -34,3 +34,3 @@ "use strict"; | ||
StrictEventEmitter.prototype.once = function (event, listener) { | ||
return _super.prototype.on.call(this, event.toString(), listener); | ||
return _super.prototype.once.call(this, event.toString(), listener); | ||
}; | ||
@@ -37,0 +37,0 @@ StrictEventEmitter.prototype.off = function (event, listener) { |
{ | ||
"name": "strict-event-emitter", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Type-safe \"EventEmitter\" for everyday use", | ||
@@ -15,3 +15,3 @@ "main": "lib/index.js", | ||
"build": "yarn clean && tsc", | ||
"prepublishOnly": "yarn test && yarn test:ts && yarn build" | ||
"release": "release publish" | ||
}, | ||
@@ -23,2 +23,3 @@ "files": [ | ||
"devDependencies": { | ||
"@ossjs/release": "^0.4.0", | ||
"@types/jest": "^26.0.19", | ||
@@ -35,2 +36,2 @@ "@types/node": "^14.14.14", | ||
} | ||
} | ||
} |
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
8532
8