Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rpldy/life-events

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpldy/life-events - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

lib/consts.js.flow

7

lib/defaults.js

@@ -7,3 +7,6 @@ "use strict";

exports["default"] = void 0;
var defaults = {
var _shared = require("@rpldy/shared");
var defaults = (0, _shared.devFreeze)({
allowRegisterNonExistent: true,

@@ -13,4 +16,4 @@ canAddEvents: true,

collectStats: false
};
});
var _default = defaults;
exports["default"] = _default;

@@ -8,2 +8,8 @@ "use strict";

});
Object.defineProperty(exports, "addLife", {
enumerable: true,
get: function get() {
return _lifeEvents["default"];
}
});
Object.defineProperty(exports, "isLE", {

@@ -10,0 +16,0 @@ enumerable: true,

@@ -106,16 +106,17 @@ "use strict";

}, {});
};
}; //using string keys here because can't rely on function names to stay after (babel/webpack) build
var apiMethods = {
trigger: trigger,
addEvent: addEvent,
removeEvent: removeEvent,
hasEvent: hasEvent,
hasEventRegistrations: hasEventRegistrations,
assign: assign
"trigger": trigger,
"addEvent": addEvent,
"removeEvent": removeEvent,
"hasEvent": hasEvent,
"hasEventRegistrations": hasEventRegistrations,
"assign": assign
};
var createApi = function createApi(target) {
return Object.values(apiMethods).reduce(function (res, m) {
res[m.name] = m.bind(target);
return Object.keys(apiMethods).reduce(function (res, name) {
res[name] = apiMethods[name].bind(target);
return res;

@@ -122,0 +123,0 @@ }, _objectSpread({

{
"version": "0.1.6",
"version": "0.1.7",
"name": "@rpldy/life-events",

@@ -19,7 +19,7 @@ "description": "",

"dependencies": {
"@rpldy/shared": "^0.1.6",
"@rpldy/shared": "^0.1.7",
"is-promise": "^2.1.0"
},
"devDependencies": {
"flow-bin": "^0.119.1"
"flow-bin": "^0.121.0"
},

@@ -29,3 +29,3 @@ "publishConfig": {

},
"gitHead": "45d0ec79b4858dea8022c8971f1f16e61a38c027"
"gitHead": "0ac67a2893ef3a684b8cf1834590035065340366"
}
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