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

psl-core

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

psl-core - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

dist/Array.js

21

dist/Helper.js

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

* @param collection
* @return {*|Array.<T>}
* @return Array
*/

@@ -38,2 +38,21 @@ value: function sort(collection) {

}
/**
* Removed empty elements from an array.
* If strict mode the will remove the 0 values too.
*
* @param array
* @param strict
* @return Array
*/
}, {
key: "cleanEmpties",
value: function cleanEmpties(array) {
var strict = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
return array.filter(function (e) {
if (strict) return e === 0 || e;else return e;
});
}
}]);

@@ -40,0 +59,0 @@

@@ -6,3 +6,3 @@ 'use strict';

});
exports.pslHelper = exports.pslTable = exports.pslPopup = undefined;
exports.pslArray = exports.pslHelper = exports.pslTable = exports.pslPopup = undefined;

@@ -21,2 +21,6 @@ var _PopUp = require('./PopUp');

var _Array = require('./Array');
var _Array2 = _interopRequireDefault(_Array);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -28,2 +32,5 @@

// Prototype extensions
var pslArray = exports.pslArray = _Array2.default;
exports.default = {

@@ -30,0 +37,0 @@ popup: pslPopup,

2

package.json
{
"name": "psl-core",
"version": "1.0.1",
"version": "1.0.2",
"description": "Core Library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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