ranges-sort 3.13.1 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/LICENSE +1 -1
- package/README.md +7 -4
- package/dist/ranges-sort.cjs.js +1 -1
- package/dist/ranges-sort.dev.umd.js +1 -1
- package/dist/ranges-sort.esm.js +1 -1
- package/dist/ranges-sort.umd.js +1 -1
- package/examples/api.json +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 3.14.0 (2020-11-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- Fix the Create New Issue URLs ([c5ee4a6](https://git.sr.ht/~royston/codsen/commits/c5ee4a61e9436099b0e20d20bca043c1b2c93f55))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- Add one more tag before which there will be a line break ([4f00871](https://git.sr.ht/~royston/codsen/commits/4f008715dcc2de7b2b52b67ce2e27728d5ffec37))
|
|
15
|
+
- discard any nulls among the ranges ([5f86fbc](https://git.sr.ht/~royston/codsen/commits/5f86fbcb0989fe3e2f7b19ffd9665b2725266e89))
|
|
16
|
+
- don't throw error if input is not array or it's empty - just quickly return it ([e169a87](https://git.sr.ht/~royston/codsen/commits/e169a8747c3a98411d8e7923af334ddc1c6b1fe1))
|
|
17
|
+
- Initial release ([4f35bfb](https://git.sr.ht/~royston/codsen/commits/4f35bfb167e54b1a0e5e8f01871293b262c67a76))
|
|
18
|
+
- opts.progressFn ([09de99c](https://git.sr.ht/~royston/codsen/commits/09de99ca38e3b2127d59681bce599671c8f7973a))
|
|
19
|
+
- remove all dependencies ([3c8fda8](https://git.sr.ht/~royston/codsen/commits/3c8fda875584044b54a3f27e7406b71881f3b6a6))
|
|
20
|
+
|
|
21
|
+
### Performance Improvements
|
|
22
|
+
|
|
23
|
+
- remove orginal number package and check-types-mini, make 165 times faster ([6e995c5](https://git.sr.ht/~royston/codsen/commits/6e995c590e68aad32d68960e76194ce9f4b847bb))
|
|
24
|
+
|
|
6
25
|
## 3.13.0 (2020-09-07)
|
|
7
26
|
|
|
8
27
|
### Features
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2010-2020 Roy Revelt and other contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
<img src="https://img.shields.io/badge/-npm-blue?style=flat-square" alt="page on npm">
|
|
8
8
|
</a>
|
|
9
9
|
<a href="https://codsen.com/os/ranges-sort" rel="nofollow noreferrer noopener">
|
|
10
|
-
<img src="https://img.shields.io/badge/-
|
|
10
|
+
<img src="https://img.shields.io/badge/-codsen-blue?style=flat-square" alt="page on codsen.com">
|
|
11
11
|
</a>
|
|
12
|
-
<a href="https://
|
|
13
|
-
<img src="https://img.shields.io/badge/-
|
|
12
|
+
<a href="https://git.sr.ht/~royston/codsen/tree/master/packages/ranges-sort" rel="nofollow noreferrer noopener">
|
|
13
|
+
<img src="https://img.shields.io/badge/-sourcehut-blue?style=flat-square" alt="page on sourcehut">
|
|
14
14
|
</a>
|
|
15
15
|
<a href="https://npmcharts.com/compare/ranges-sort?interval=30" rel="nofollow noreferrer noopener" target="_blank">
|
|
16
16
|
<img src="https://img.shields.io/npm/dm/ranges-sort.svg?style=flat-square" alt="Downloads per month">
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
<img src="https://img.shields.io/badge/code_style-prettier-brightgreen.svg?style=flat-square" alt="Code style: prettier">
|
|
20
20
|
</a>
|
|
21
21
|
<img src="https://img.shields.io/badge/licence-MIT-brightgreen.svg?style=flat-square" alt="MIT License">
|
|
22
|
+
<a href="https://liberamanifesto.com" rel="nofollow noreferrer noopener" target="_blank">
|
|
23
|
+
<img src="https://img.shields.io/badge/libera-manifesto-lightgrey.svg?style=flat-square" alt="libera manifesto">
|
|
24
|
+
</a>
|
|
22
25
|
</div>
|
|
23
26
|
|
|
24
27
|
## Install
|
|
@@ -56,6 +59,6 @@ Please [visit codsen.com](https://codsen.com/os/ranges-sort/) for a full descrip
|
|
|
56
59
|
|
|
57
60
|
MIT License
|
|
58
61
|
|
|
59
|
-
Copyright (c)
|
|
62
|
+
Copyright (c) 2010-2020 Roy Revelt and other contributors
|
|
60
63
|
|
|
61
64
|
<img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center">
|
package/dist/ranges-sort.cjs.js
CHANGED
package/dist/ranges-sort.esm.js
CHANGED
package/dist/ranges-sort.umd.js
CHANGED
package/examples/api.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"_quickTake.js":{"title":"Quick Take","content":"import
|
|
1
|
+
{"_quickTake.js":{"title":"Quick Take","content":"import { strict as assert } from \"assert\";\nimport rsort from \"ranges-sort\";\n\n// Ranges (see codsen.com/ranges/) are sorted:\nassert.deepEqual(\n rsort([\n [2, 3],\n [9, 10, \"bad grey wolf\"],\n [1, 2],\n ]),\n [\n [1, 2],\n [2, 3],\n [9, 10, \"bad grey wolf\"],\n ]\n);"}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ranges-sort",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"description": "Sort string index ranges",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"array",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"string"
|
|
11
11
|
],
|
|
12
12
|
"homepage": "https://codsen.com/os/ranges-sort/",
|
|
13
|
-
"repository": "https://
|
|
13
|
+
"repository": "https://git.sr.ht/~royston/codsen",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "Roy Revelt",
|
|
17
17
|
"email": "roy@codsen.com",
|
|
18
|
-
"url": "codsen.com"
|
|
18
|
+
"url": "https://codsen.com"
|
|
19
19
|
},
|
|
20
20
|
"main": "dist/ranges-sort.cjs.js",
|
|
21
21
|
"module": "dist/ranges-sort.esm.js",
|
|
@@ -91,25 +91,25 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@babel/core": "^7.
|
|
95
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
96
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.
|
|
97
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
98
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
99
|
-
"@babel/preset-env": "^7.
|
|
94
|
+
"@babel/core": "^7.12.7",
|
|
95
|
+
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
96
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
|
|
97
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
|
98
|
+
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
|
|
99
|
+
"@babel/preset-env": "^7.12.7",
|
|
100
100
|
"@rollup/plugin-babel": "^5.2.1",
|
|
101
|
-
"@rollup/plugin-commonjs": "^
|
|
102
|
-
"@rollup/plugin-node-resolve": "^
|
|
101
|
+
"@rollup/plugin-commonjs": "^16.0.0",
|
|
102
|
+
"@rollup/plugin-node-resolve": "^10.0.0",
|
|
103
103
|
"@rollup/plugin-strip": "^2.0.0",
|
|
104
104
|
"benchmark": "^2.1.4",
|
|
105
|
-
"eslint": "^7.
|
|
106
|
-
"lect": "^0.
|
|
107
|
-
"rollup": "^2.
|
|
105
|
+
"eslint": "^7.14.0",
|
|
106
|
+
"lect": "^0.15.0",
|
|
107
|
+
"rollup": "^2.33.3",
|
|
108
108
|
"rollup-plugin-ascii": "^0.0.3",
|
|
109
109
|
"rollup-plugin-banner": "^0.2.1",
|
|
110
|
-
"rollup-plugin-cleanup": "^3.
|
|
110
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
111
111
|
"rollup-plugin-terser": "^7.0.2",
|
|
112
|
-
"tap": "^14.
|
|
112
|
+
"tap": "^14.11.0",
|
|
113
113
|
"tsd": "^0.13.1"
|
|
114
114
|
}
|
|
115
115
|
}
|