natural-orderby
Advanced tools
Comparing version 3.0.0 to 3.0.1
# natural-orderby | ||
## 3.0.1 | ||
### Patch Changes | ||
- fix umd imports | ||
## 3.0.0 | ||
@@ -4,0 +10,0 @@ |
/** | ||
* natural-orderby v3.0.0 | ||
* natural-orderby v3.0.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Olaf Ennen |
/** | ||
* natural-orderby v3.0.0 | ||
* natural-orderby v3.0.1 | ||
* | ||
@@ -16,5 +16,5 @@ * Copyright (c) Olaf Ennen | ||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./umd/react-router-dom.production.min.js'); | ||
module.exports = require('./umd/natural-orderby.production.min.js'); | ||
} else { | ||
module.exports = require('./umd/react-router-dom.development.js'); | ||
module.exports = require('./umd/natural-orderby.development.js'); | ||
} |
/** | ||
* natural-orderby v3.0.0 | ||
* natural-orderby v3.0.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Olaf Ennen |
/** | ||
* natural-orderby v3.0.0 | ||
* natural-orderby v3.0.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Olaf Ennen |
/** | ||
* natural-orderby v3.0.0 | ||
* natural-orderby v3.0.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Olaf Ennen |
/** | ||
* natural-orderby v3.0.0 | ||
* natural-orderby v3.0.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Olaf Ennen |
{ | ||
"name": "natural-orderby", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -1,8 +0,10 @@ | ||
# 🌲 natural-orderby | ||
# Welcome to 🌲 natural-orderby · [![npm package][npm-badge]][npm] [![build][build-badge]][build] | ||
[npm-badge]: https://img.shields.io/npm/v/natural-orderby.svg?style=flat-square | ||
[npm]: https://www.npmjs.org/package/natural-orderby | ||
[build-badge]: https://img.shields.io/github/workflow/status/yobacca/natural-orderby/test/main?style=flat-square | ||
[build]: https://github.com/yobacca/natural-orderby/actions/workflows/test.yml | ||
> Lightweight (< 1.6kB gzipped) and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc. | ||
[![npm](https://img.shields.io/npm/v/natural-orderby.svg)](https://www.npmjs.com/package/natural-orderby) | ||
[![Build Status](https://travis-ci.org/yobacca/natural-orderby.svg?branch=master)](https://travis-ci.org/yobacca/natural-orderby) [![codecov](https://codecov.io/gh/yobacca/natural-orderby/branch/master/graph/badge.svg)](https://codecov.io/gh/yobacca/natural-orderby) [![dependencies](https://david-dm.org/yobacca/natural-orderby.svg)](https://david-dm.org/yobacca/natural-orderby) | ||
People sort strings containing numbers differently than most sorting algorithms, which sort values by comparing strings in Unicode code point order. This produces an ordering that is inconsistent with human logic. | ||
@@ -38,3 +40,3 @@ | ||
```html | ||
<script src="https://unpkg.com/natural-orderby/iife/natural-orderby.min.js"></script> | ||
<script src="https://unpkg.com/natural-orderby/dist/umd/natural-orderby.production.min.js"></script> | ||
``` | ||
@@ -41,0 +43,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
535
0
70272