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

array-hyper-unique

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-hyper-unique - npm Package Compare versions

Comparing version 2.0.8 to 2.1.1

src/index.cts

15

CHANGELOG.md

@@ -6,2 +6,17 @@ # Change Log

## [2.1.1](https://github.com/bluelovers/ws-array/compare/array-hyper-unique@2.0.8...array-hyper-unique@2.1.1) (2022-09-26)
### 📦 Code Refactoring
* use cts ([fcac84f](https://github.com/bluelovers/ws-array/commit/fcac84f2e853f9dfd3715231fb583e8381756370))
### ♻️ Chores
* update metadata ([70abe28](https://github.com/bluelovers/ws-array/commit/70abe28fffd0462a7627ad5709c5edf0bb07096d))
## [2.0.8](https://github.com/bluelovers/ws-array/compare/array-hyper-unique@2.0.7...array-hyper-unique@2.0.8) (2022-06-01)

@@ -8,0 +23,0 @@

18

dist/index.d.ts
/**
* Created by user on 2020/6/6.
*/
export declare type IOptions<T> = {
export type IOptions<T> = {
checker?(element: T[keyof T], array: T[keyof T], arr_new?: T, arr_old?: T): boolean;

@@ -22,16 +22,8 @@ checker?<R>(element: R[keyof R], array: R[keyof R], arr_new?: R, arr_old?: R): boolean;

export declare function lazy_unique<T>(...arr: Array<T | T[]>): T | (T | T[])[];
export declare namespace lazy_unique {
export var array_unique: typeof array_unique;
export var array_unique_overwrite: typeof array_unique_overwrite;
export var lazy_unique_overwrite: typeof lazy_unique_overwrite;
export var equals: typeof equals;
export var defaultFilter: typeof defaultFilter;
export var defaultChecker: typeof defaultChecker;
export var lazy_unique: typeof lazy_unique;
var _a: typeof lazy_unique;
export { _a as default };
}
export declare function lazy_unique_overwrite<T>(...arr: Array<T | T[]>): T | (T | T[])[];
export default lazy_unique;
export {
lazy_unique as default,
};
export {};
{
"name": "array-hyper-unique",
"version": "2.0.8",
"version": "2.1.1",
"description": "Get unique values of an array. Really, like deeply unique.",

@@ -42,3 +42,4 @@ "keywords": [

"type": "git",
"url": "git+https://github.com/bluelovers/ws-array.git"
"url": "git+https://github.com/bluelovers/ws-array.git",
"directory": "packages/array-hyper-unique"
},

@@ -54,2 +55,7 @@ "license": "ISC",

},
"./core": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json",

@@ -73,3 +79,5 @@ "./src/*": "./src/*"

"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"posttest": "yarn run build",

@@ -118,3 +126,3 @@ "build": "yarn run build:tsdx && yarn run build:dts",

"packageManager": "yarn@^1.22.11",
"gitHead": "54d1e453cf86e9f66371a6e5c4254ec8f1ccde79"
"gitHead": "1847cf5e4d64c410da4934e8c7bc2de2f2df0960"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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