Socket
Socket
Sign inDemoInstall

natural-orderby

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

natural-orderby - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

CHANGELOG.md
# natural-orderby
## 3.0.1
### Patch Changes
- fix umd imports
## 3.0.0

@@ -4,0 +10,0 @@

2

dist/index.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
*

@@ -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 @@

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