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

match-sorter

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

match-sorter - npm Package Compare versions

Comparing version 1.8.1 to 2.0.0

dist/match-sorter.cjs.js

2

CHANGELOG.md
# CHANGELOG
The changelog is automatically updated using [semantic-release](https://github.com/semantic-release/semantic-release).
You can see it on the [releases page](../releases).
You can see it on the [releases page](../../releases).
{
"name": "diacritic",
"version": "0.0.2",
"description": "Removes accents / diacritics from strings, sentences, and paragraphs fast and effeciently.",
"main": "diacritics.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"_from": "diacritic@0.0.2",
"_id": "diacritic@0.0.2",
"_inBundle": false,
"_integrity": "sha1-/CqIe1pbwKCoVPthTHwvIJBh7gQ=",
"_location": "/diacritic",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "diacritic@0.0.2",
"name": "diacritic",
"escapedName": "diacritic",
"rawSpec": "0.0.2",
"saveSpec": null,
"fetchSpec": "0.0.2"
},
"repository": {
"type": "git",
"url": "git@github.com:Nijikokun/Diacritics.js.git"
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/diacritic/-/diacritic-0.0.2.tgz",
"_shasum": "fc2a887b5a5bc0a0a854fb614c7c2f209061ee04",
"_spec": "diacritic@0.0.2",
"_where": "/home/travis/build/kentcdodds/match-sorter",
"author": {
"name": "Nijiko Yonskai"
},
"bugs": {
"url": "https://github.com/Nijikokun/Diacritics.js/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Removes accents / diacritics from strings, sentences, and paragraphs fast and effeciently.",
"homepage": "https://github.com/Nijikokun/Diacritics.js#readme",
"keywords": [

@@ -24,5 +46,13 @@ "diacritics",

],
"author": "Nijiko Yonskai",
"license": "MIT",
"readmeFilename": "README.md"
"main": "diacritics.js",
"name": "diacritic",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/Nijikokun/Diacritics.js.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "0.0.2"
}
{
"name": "match-sorter",
"version": "1.8.1",
"version": "2.0.0",
"description": "Simple, expected, and deterministic best-match sorting of an array in JavaScript",
"main": "dist/cjs/index.js",
"main": "dist/match-sorter.cjs.js",
"jsnext:main": "dist/match-sorter.esm.js",
"module": "dist/match-sorter.esm.js",
"scripts": {
"start": "nps",
"test": "nps test",
"commitmsg": "opt --in commit-msg --exec \"validate-commit-msg\"",
"precommit": "opt --in pre-commit --exec \"npm start validate\""
"add-contributor": "kcd-scripts contributors add",
"build": "kcd-scripts build --bundle --environment BUILD_NAME:matchSorter",
"lint": "kcd-scripts lint",
"test": "kcd-scripts test",
"test:cover": "kcd-scripts test --coverage",
"test:update": "npm run test:cover -s -- --updateSnapshot",
"test:build": "kcd-scripts test --config other/jest.config.js --no-watch",
"build-and-test": "npm run build -s && npm run test:build -s",
"validate": "kcd-scripts validate lint,build-and-test,test:cover,test:ts",
"precommit": "kcd-scripts precommit"
},

@@ -15,63 +23,30 @@ "files": [

],
"keywords": [],
"keywords": [
"autocomplete",
"filter list",
"sort",
"advanced sort",
"user intuitive sort"
],
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"license": "MIT",
"bundledDependencies": [
"diacritic",
"global-object"
"diacritic"
],
"dependencies": {
"diacritic": "0.0.2",
"global-object": "1.0.0"
"diacritic": "0.0.2"
},
"devDependencies": {
"all-contributors-cli": "^4.0.1",
"babel-cli": "^6.23.0",
"babel-jest": "^19.0.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-2": "^6.22.0",
"codecov": "^1.0.1",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^3.16.1",
"eslint-config-kentcdodds": "^12.0.0",
"husky": "^0.13.2",
"jest-cli": "^19.0.2",
"nodemon": "^1.11.0",
"nps": "^5.0.3",
"nps-utils": "^1.1.2",
"opt-cli": "^1.4.2",
"rimraf": "^2.6.1",
"rollup": "^0.41.4",
"rollup-plugin-babel": "^2.6.1",
"rollup-plugin-commonjs": "^7.0.0",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-uglify": "^1.0.1",
"semantic-release": "^6.3.2",
"validate-commit-msg": "^2.11.1"
"kcd-scripts": "^0.18.0"
},
"eslintConfig": {
"extends": [
"kentcdodds",
"kentcdodds/jest"
"./node_modules/kcd-scripts/eslint.js"
]
},
"jest": {
"cacheDirectory": "./node_modules/.cache",
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist"
],
"repository": {

@@ -78,0 +53,0 @@ "type": "git",

@@ -1,5 +0,11 @@

# match-sorter
<div align="center">
<h1>match-sorter</h1>
Simple, expected, and deterministic best-match sorting of an array in JavaScript. **[Demo](https://jsbin.com/vewoka/edit?js,output)**
<p>Simple, expected, and deterministic best-match sorting of an array in JavaScript</p>
</div>
<hr />
**[Demo](https://codesandbox.io/s/wyk856yo48)**
[![Build Status][build-badge]][build]

@@ -19,4 +25,4 @@ [![Code Coverage][coverage-badge]][coverage]

[![gzip size][gzip-badge]][unpkg-umd]
[![size][size-badge]][unpkg-umd]
[![gzip size][gzip-badge]][unpkg-dist]
[![size][size-badge]][unpkg-dist]
[![module formats: umd and cjs][module-formats-badge]][module-formats]

@@ -27,2 +33,4 @@ [![Watch on GitHub][github-watch-badge]][github-watch]

<a href="https://app.codesponsor.io/link/PKGFLnhDiFvsUA5P4kAXfiPs/kentcdodds/match-sorter" rel="nofollow"><img src="https://app.codesponsor.io/embed/PKGFLnhDiFvsUA5P4kAXfiPs/kentcdodds/match-sorter.svg" style="width: 888px; height: 68px;" alt="Sponsor" /></a>
## The problem

@@ -50,3 +58,2 @@

## Getting Started

@@ -273,6 +280,6 @@

[genie]: https://github.com/kentcdodds/genie
[gzip-badge]: http://img.badgesize.io/https://unpkg.com/match-sorter/dist/umd/match-sorter.min.js?compression=gzip&label=gzip%20size&style=flat-square
[size-badge]: http://img.badgesize.io/https://unpkg.com/match-sorter/dist/umd/match-sorter.min.js?label=size&style=flat-square
[unpkg-umd]: https://unpkg.com/match-sorter/dist/umd/
[gzip-badge]: http://img.badgesize.io/https://unpkg.com/match-sorter/dist/match-sorter.umd.min.js?compression=gzip&label=gzip%20size&style=flat-square
[size-badge]: http://img.badgesize.io/https://unpkg.com/match-sorter/dist/match-sorter.umd.min.js?label=size&style=flat-square
[unpkg-dist]: https://unpkg.com/match-sorter/dist/
[module-formats-badge]: https://img.shields.io/badge/module%20formats-umd%2C%20cjs-green.svg?style=flat-square
[module-formats]: https://unpkg.com/match-sorter@1.8.0/dist/
[module-formats]: https://unpkg.com/match-sorter/dist/

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