Socket
Socket
Sign inDemoInstall

bones

Package Overview
Dependencies
Maintainers
0
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bones - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

4

package.json
{
"name": "bones",
"version": "1.3.1",
"version": "1.3.2",

@@ -13,3 +13,3 @@ "main": "./bones.js",

"optimist": "0.1.x",
"mirror": "0.2.x"
"mirror": "0.3.x"
},

@@ -16,0 +16,0 @@

@@ -78,5 +78,8 @@ var utils = module.exports = require('../shared/utils');

utils.sortByLoadOrder = function(assets) {
var order = _.intersect(bones.plugin.order, assets);
assets.length = 0;
for (var i = 0; i < order.length; i++) assets[i] = order[i];
var reference = bones.plugin.order;
assets.sort(function loadOrderSort(a, b) {
a = reference.indexOf(a);
b = reference.indexOf(b);
return (a < 0 || b < 0) ? b - a : a - b;
});
};

@@ -83,0 +86,0 @@

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