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 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) 2015-2020 Roy Revelt and other contributors
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/-Codsen-blue?style=flat-square" alt="page on npm">
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://gitlab.com/codsen/codsen/tree/master/packages/ranges-sort" rel="nofollow noreferrer noopener">
13
- <img src="https://img.shields.io/badge/-GitLab-blue?style=flat-square" alt="page on GitLab">
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) 2015-2020 Roy Revelt and other contributors
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">
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * ranges-sort
3
3
  * Sort string index ranges
4
- * Version: 3.13.1
4
+ * Version: 3.14.0
5
5
  * Author: Roy Revelt, Codsen Ltd
6
6
  * License: MIT
7
7
  * Homepage: https://codsen.com/os/ranges-sort/
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * ranges-sort
3
3
  * Sort string index ranges
4
- * Version: 3.13.1
4
+ * Version: 3.14.0
5
5
  * Author: Roy Revelt, Codsen Ltd
6
6
  * License: MIT
7
7
  * Homepage: https://codsen.com/os/ranges-sort/
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * ranges-sort
3
3
  * Sort string index ranges
4
- * Version: 3.13.1
4
+ * Version: 3.14.0
5
5
  * Author: Roy Revelt, Codsen Ltd
6
6
  * License: MIT
7
7
  * Homepage: https://codsen.com/os/ranges-sort/
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * ranges-sort
3
3
  * Sort string index ranges
4
- * Version: 3.13.1
4
+ * Version: 3.14.0
5
5
  * Author: Roy Revelt, Codsen Ltd
6
6
  * License: MIT
7
7
  * Homepage: https://codsen.com/os/ranges-sort/
package/examples/api.json CHANGED
@@ -1 +1 @@
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);"}}
1
+ {"_quickTake.js":{"title":"Quick Take","content":"import &#x7B; strict as assert &#x7D; 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.13.1",
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://gitlab.com/codsen/codsen/",
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.11.6",
95
- "@babel/plugin-proposal-class-properties": "^7.10.4",
96
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
97
- "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
98
- "@babel/plugin-proposal-optional-chaining": "^7.11.0",
99
- "@babel/preset-env": "^7.11.5",
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": "^15.1.0",
102
- "@rollup/plugin-node-resolve": "^9.0.0",
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.9.0",
106
- "lect": "^0.14.1",
107
- "rollup": "^2.28.1",
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.1.1",
110
+ "rollup-plugin-cleanup": "^3.2.1",
111
111
  "rollup-plugin-terser": "^7.0.2",
112
- "tap": "^14.10.8",
112
+ "tap": "^14.11.0",
113
113
  "tsd": "^0.13.1"
114
114
  }
115
115
  }