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

data-sort

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-sort - npm Package Compare versions

Comparing version 2.0.0-rc.8 to 2.0.0-rc.9

21

cjs/data-sort.development.js

@@ -1,2 +0,2 @@

/** @license Data-Engine v2.0.0-rc.8
/** @license Data-Engine v2.0.0-rc.9
* data-sort.development.js

@@ -16,2 +16,16 @@ *

/* eslint-disable */
function logf() {
console.log.call(arguments);
}
function noop() {}
var log = noop;
{
log = logf;
}
var classCallCheck = function (instance, Constructor) {

@@ -193,2 +207,3 @@ if (!(instance instanceof Constructor)) {

log('setData', data, 'should sort', shouldSort);
_this.data = data;

@@ -209,5 +224,7 @@ if (shouldSort) {

this.setPrimaryKey = function (key) {
log('setPrimaryKey');
if (_this.isCustomFunction) {
return;
}
log('primaryKey Continue');
if (typeof key === 'string' && key.length > 0) {

@@ -218,2 +235,3 @@ _this.primaryKey = key;

}
log(_this.currentName, _this.primaryKey);
_this.sortFunc = _this.defaultSortWithKey;

@@ -263,2 +281,3 @@ }

this.sortData = function () {
log(_this.currentName);
if (_this.currentName) {

@@ -265,0 +284,0 @@ _this.data = _this.data.sort(_this.sortFunc);

2

cjs/data-sort.production.min.js

@@ -1,2 +0,2 @@

/** @license Data-Engine v2.0.0-rc.8
/** @license Data-Engine v2.0.0-rc.9
* data-sort.production.min.js

@@ -3,0 +3,0 @@ *

{
"name": "data-sort",
"description": "Data engine is small data management lib for some sort and filter.",
"version": "2.0.0-rc.8",
"version": "2.0.0-rc.9",
"keywords": [

@@ -6,0 +6,0 @@ "Data",

@@ -1,2 +0,2 @@

/** @license Engine v2.0.0-rc.8
/** @license Engine v2.0.0-rc.9
* data-sort.development.js

@@ -18,2 +18,16 @@ *

/* eslint-disable */
function logf() {
console.log.call(arguments);
}
function noop() {}
var log = noop;
{
log = logf;
}
var classCallCheck = function (instance, Constructor) {

@@ -195,2 +209,3 @@ if (!(instance instanceof Constructor)) {

log('setData', data, 'should sort', shouldSort);
_this.data = data;

@@ -211,5 +226,7 @@ if (shouldSort) {

this.setPrimaryKey = function (key) {
log('setPrimaryKey');
if (_this.isCustomFunction) {
return;
}
log('primaryKey Continue');
if (typeof key === 'string' && key.length > 0) {

@@ -220,2 +237,3 @@ _this.primaryKey = key;

}
log(_this.currentName, _this.primaryKey);
_this.sortFunc = _this.defaultSortWithKey;

@@ -265,2 +283,3 @@ }

this.sortData = function () {
log(_this.currentName);
if (_this.currentName) {

@@ -267,0 +286,0 @@ _this.data = _this.data.sort(_this.sortFunc);

@@ -1,2 +0,2 @@

/** @license Data-Engine v2.0.0-rc.8
/** @license Data-Engine v2.0.0-rc.9
* data-sort.production.min.js

@@ -3,0 +3,0 @@ *

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