array-order
Advanced tools
Comparing version 2.0.1 to 2.1.0
import permute from './permute.js' | ||
import sequence from './util/sequence.js' | ||
import rotate from './util/rotate.js' | ||
import sequence from './sequence.js' | ||
import rotate from './rotate.js' | ||
@@ -5,0 +5,0 @@ /** |
@@ -7,1 +7,7 @@ export {default as flip} from './flip.js' | ||
export {default as sort} from './sort.js' | ||
export {default as swap} from './swap.js' | ||
export {default as sequence} from './sequence.js' | ||
export {default as shuffle} from './shuffle.js' | ||
export {default as sattolo} from './sattolo.js' | ||
export {default as rotate} from './rotate.js' | ||
export {default as derange} from './derange.js' |
/** | ||
* @typedef {Array|Int8Array|Uint8Array|Int16Array|Uint16Array|Int32Array|Uint32Array|Uint8ClampedArray|Float32Array|Float64Array} ArrayLike | ||
*/ | ||
import sequence from './util/sequence.js' | ||
import sequence from './sequence.js' | ||
@@ -6,0 +6,0 @@ /** |
{ | ||
"name": "array-order", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
/** | ||
* @typedef {Array|Int8Array|Uint8Array|Int16Array|Uint16Array|Int32Array|Uint32Array|Uint8ClampedArray|Float32Array|Float64Array} ArrayLike | ||
*/ | ||
import sequence from './util/sequence.js' | ||
import swap from './util/swap.js' | ||
import sequence from './sequence.js' | ||
import swap from './swap.js' | ||
@@ -7,0 +7,0 @@ /** |
@@ -39,3 +39,3 @@ /** | ||
for (let i=0; i<ref.length; ++i) ref[i] ^= -1 | ||
return tgt | ||
return src | ||
} |
import t from 'assert-op' | ||
import derange from '../derange.js' | ||
import {derange} from '../index.js' | ||
@@ -4,0 +4,0 @@ t('uniquely deranged', a => { |
import t from 'assert-op' | ||
import flip from '../flip.js' | ||
import sequence from '../util/sequence.js' | ||
import shuffle from '../util/shuffle.js' | ||
import {flip, sequence, shuffle} from '../index.js' | ||
@@ -6,0 +4,0 @@ t('flip-to', a=>{ |
import t from 'assert-op' | ||
import sequence from '../util/sequence.js' | ||
import shuffle from '../util/shuffle.js' | ||
import order from '../order.js' | ||
import {sequence, shuffle, order} from '../index.js' | ||
@@ -6,0 +4,0 @@ t('order +', a => { |
@@ -1,5 +0,2 @@ | ||
import pick from '../pick.js' | ||
import flip from '../flip.js' | ||
import sequence from '../util/sequence.js' | ||
import shuffle from '../util/shuffle.js' | ||
import {pick, flip, sequence, shuffle} from '../index.js' | ||
import t from 'assert-op' | ||
@@ -20,4 +17,4 @@ | ||
ord = flip(rnk.slice()) | ||
a('{===}', pick(ord, rnk, []), seq) | ||
a('{===}', pick(ord, rnk), seq) | ||
} | ||
}) |
import t from 'assert-op' | ||
import sequence from '../util/sequence.js' | ||
import shuffle from '../util/shuffle.js' | ||
import rank from '../rank.js' | ||
import {sequence, shuffle, rank} from '../index.js' | ||
@@ -6,0 +4,0 @@ t('rank', a=>{ |
import t from 'assert-op' | ||
import sequence from '../util/sequence.js' | ||
import rotate from '../util/rotate.js' | ||
import {sequence, rotate} from '../index.js' | ||
@@ -5,0 +4,0 @@ t('left', a=> { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
540
17025