New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@robotlegsjs/core

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robotlegsjs/core - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

10

lib/robotlegs/bender/extensions/commandCenter/impl/CommandMappingList.js

@@ -59,3 +59,3 @@ "use strict";

this.applyProcessors(mapping);
var oldMapping = this._mappingsByCommand[mapping.commandClass];
var oldMapping = this._mappingsByCommand.get(mapping.commandClass);
if (oldMapping) {

@@ -75,3 +75,3 @@ this.overwriteMapping(oldMapping, mapping);

CommandMappingList.prototype.removeMapping = function (mapping) {
if (this._mappingsByCommand[mapping.commandClass]) {
if (this._mappingsByCommand.has(mapping.commandClass)) {
this.deleteMapping(mapping);

@@ -87,3 +87,3 @@ if (this._mappings.length === 0) {

CommandMappingList.prototype.removeMappingFor = function (commandClass) {
var mapping = this._mappingsByCommand[commandClass];
var mapping = this._mappingsByCommand.get(commandClass);
if (mapping) {

@@ -110,3 +110,3 @@ this.removeMapping(mapping);

CommandMappingList.prototype.storeMapping = function (mapping) {
this._mappingsByCommand[mapping.commandClass] = mapping;
this._mappingsByCommand.set(mapping.commandClass, mapping);
this._mappings.push(mapping);

@@ -118,3 +118,3 @@ if (this._logger) {

CommandMappingList.prototype.deleteMapping = function (mapping) {
delete this._mappingsByCommand[mapping.commandClass];
this._mappingsByCommand.delete(mapping.commandClass);
this._mappings.splice(this._mappings.indexOf(mapping), 1);

@@ -121,0 +121,0 @@ if (this._logger) {

@@ -56,5 +56,6 @@ "use strict";

Pin.prototype.releaseAll = function () {
var _this = this;
this._instances.forEach(function (value, key) {
this.release(key);
}, this);
return _this.release(key);
});
};

@@ -61,0 +62,0 @@ return Pin;

{
"name": "@robotlegsjs/core",
"version": "0.0.5",
"version": "0.0.6",
"description": "An architecture-based IoC framework for JavaScript/TypeScript",

@@ -12,5 +12,6 @@ "main": "lib/index.js",

"tslint-check": "tslint-config-prettier-check ./tslint.json",
"clean-up": "rm -rf coverage && rm -rf lib",
"prepublish": "tsc -d && publish-please guard",
"publish-please": "npm run autoformat && npm run clean-up && publish-please"
"clean-up": "rm -rf .nyc_output && rm -rf coverage && rm -rf lib",
"prepare": "npm run clean-up && tsc -d",
"prepublishOnly": "publish-please guard",
"publish-please": "npm run autoformat && npm run clean-up && npm run test && publish-please"
},

@@ -63,6 +64,6 @@ "nyc": {

"devDependencies": {
"@types/bluebird": "^3.5.11",
"@types/bluebird": "^3.5.12",
"@types/chai": "^4.0.4",
"@types/mocha": "^2.2.43",
"@types/sinon": "^2.3.4",
"@types/sinon": "^2.3.5",
"bluebird": "^3.5.0",

@@ -99,3 +100,3 @@ "browserify-versionify": "^1.0.6",

"rimraf": "^2.6.2",
"sinon": "^3.2.1",
"sinon": "^4.0.0",
"sinon-chai": "^2.13.0",

@@ -108,3 +109,3 @@ "source-map-support": "^0.4.18",

"typescript": "^2.5.2",
"webpack": "^3.5.6",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.8.2"

@@ -111,0 +112,0 @@ },

@@ -26,2 +26,3 @@ RobotlegsJS <img src="media/robotlegs.png?raw=true" width="30" height="30" />

**Extensions**
- [RobotlegsJS-Macrobot](https://github.com/RobotlegsJS/RobotlegsJS-Macrobot): extends commands, adding support to async and macro commands.

@@ -31,2 +32,3 @@ - [RobotlegsJS-SignalCommandMap](https://github.com/RobotlegsJS/RobotlegsJS-SignalCommandMap): maps [SignalsJS](https://github.com/RobotlegsJS/SignalsJS) to commands.

- [RobotlegsJS-Pixi-Palidor](https://github.com/RobotlegsJS/RobotlegsJS-Pixi-Palidor): a view manager extension for [RobotlegsJS-Pixi](https://github.com/RobotlegsJS/RobotlegsJS-Pixi).
- [RobotlegsJS-Pixi-SignalMediator](https://github.com/RobotlegsJS/RobotlegsJS-Pixi-SignalMediator): a port of [Robotlegs SignalMediator Extension](https://github.com/MrDodson/robotlegs-extensions-SignalMediator) to TypeScript.
- [RobotlegsJS-Phaser](https://github.com/RobotlegsJS/RobotlegsJS-Phaser): integrate RobotlegsJS with [Phaser](http://phaser.io).

@@ -33,0 +35,0 @@ - [RobotlegsJS-Phaser-SignalCommandMap](https://github.com/RobotlegsJS/RobotlegsJS-Phaser-SignalCommandMap): maps [Phaser.Signal](https://photonstorm.github.io/phaser-ce/Phaser.Signal.html) to commands.

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