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

array-order

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-order - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

rotate.js

4

derange.js
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=> {

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