@bluelovers/string-natural-compare
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.1.3](https://github.com/bluelovers/ws-array/compare/@bluelovers/string-natural-compare@1.1.2...@bluelovers/string-natural-compare@1.1.3) (2021-07-09) | ||
### ♻️ Chores | ||
* update deps and use tslib with importHelpers ([7364982](https://github.com/bluelovers/ws-array/commit/7364982d9e8ebff5dc9b9742f187e3dc5d216f38)) | ||
## [1.1.2](https://github.com/bluelovers/ws-array/compare/@bluelovers/string-natural-compare@1.1.1...@bluelovers/string-natural-compare@1.1.2) (2020-07-01) | ||
@@ -8,0 +19,0 @@ |
18
core.js
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./index"), exports); | ||
const index_1 = __importDefault(require("./index")); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./index"), exports); | ||
const index_1 = (0, tslib_1.__importDefault)(require("./index")); | ||
exports.default = index_1.default; | ||
//# sourceMappingURL=core.js.map |
@@ -5,8 +5,6 @@ "use strict"; | ||
*/ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.caseInsensitive = exports.compareCaseInsensitive = exports.createNew = exports.naturalCompare = void 0; | ||
const string_natural_compare_1 = __importDefault(require("string-natural-compare")); | ||
const tslib_1 = require("tslib"); | ||
const string_natural_compare_1 = (0, tslib_1.__importDefault)(require("string-natural-compare")); | ||
/** | ||
@@ -34,3 +32,3 @@ * Compare alphanumeric strings the same way a human would, | ||
} | ||
i = string_natural_compare_1.default(a, b, opts); | ||
i = (0, string_natural_compare_1.default)(a, b, opts); | ||
} | ||
@@ -37,0 +35,0 @@ if (i !== 0 && (opts === null || opts === void 0 ? void 0 : opts.desc)) { |
{ | ||
"name": "@bluelovers/string-natural-compare", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Compare alphanumeric strings the same way a human would, using a natural order algorithm", | ||
@@ -33,3 +33,4 @@ "homepage": "https://github.com/bluelovers/ws-array/tree/master/packages/string-natural-compare#readme", | ||
"dependencies": { | ||
"string-natural-compare": "^3.0.1" | ||
"string-natural-compare": "^3.0.1", | ||
"tslib": "^2.3.0" | ||
}, | ||
@@ -39,3 +40,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "4838f4f6ecf0366b1ce683053d80bad426059a27" | ||
"gitHead": "7c1aae53d026795e4d4739bad05cc5cf796c0f6d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11755
2
9
108
+ Addedtslib@^2.3.0
+ Addedtslib@2.8.1(transitive)