@nxtedition/lib 16.0.5 → 16.0.6

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/merge-ranges.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const EMPTY_ARR = Object.freeze([])
2
2
 
3
- export function mergeRanges(ranges) {
3
+ export default function mergeRanges(ranges) {
4
4
  if (!Array.isArray(ranges) || ranges.length === 0) {
5
5
  return EMPTY_ARR
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "16.0.5",
3
+ "version": "16.0.6",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
@@ -1,4 +1,4 @@
1
- export function subtractRanges(a, b) {
1
+ export default function subtractRanges(a, b) {
2
2
  a = a.slice(0)
3
3
 
4
4
  const c = []