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

@takeshape/util

Package Overview
Dependencies
Maintainers
4
Versions
760
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@takeshape/util - npm Package Compare versions

Comparing version 5.25.0 to 5.28.0

3

es/arrays.js

@@ -6,2 +6,5 @@ export function arrayContainsAll(a, b) {

return arrayContainsAll(a, b) && arrayContainsAll(b, a);
}
export function isDefined(x) {
return x !== null && x !== undefined;
}
export declare function arrayContainsAll<T>(a: T[], b: T[]): boolean;
export declare function setIsEqual<T>(a: T[], b: T[]): boolean;
export declare function isDefined<T>(x: T | null | undefined): x is T;

@@ -8,2 +8,3 @@ "use strict";

exports.setIsEqual = setIsEqual;
exports.isDefined = isDefined;

@@ -16,2 +17,6 @@ function arrayContainsAll(a, b) {

return arrayContainsAll(a, b) && arrayContainsAll(b, a);
}
function isDefined(x) {
return x !== null && x !== undefined;
}

142

package.json
{
"name": "@takeshape/util",
"version": "5.25.0",
"homepage": "https://www.takeshape.io",
"repository": {
"type": "git",
"url": "github.com:takeshape/takeshape.git"
},
"author": "asprouse",
"license": "UNLICENSED",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"es"
],
"description": "TakeShape Util",
"scripts": {
"lint": "eslint --ext .js --ext .ts --ignore-path .gitignore src",
"test": "jest",
"test-changed": "pnpm run test -- --changedSince=master",
"typecheck": "tsc --skipLibCheck --noEmit",
"clean": "rimraf lib es",
"prepublishOnly": "pnpm run lint && pnpm run test && pnpm run clean && pnpm run build",
"build": "pnpm run build:types && pnpm run build:js && pnpm run build:es",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "cross-env BABEL_MODULES=commonjs babel src --out-dir lib --extensions \".js,.ts\" --ignore '**/__tests__'",
"build:es": "cross-env BABEL_MODULES=es babel src --out-dir es --extensions \".js,.ts\" --ignore '**/__tests__'"
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"json",
"jsx",
"ts",
"tsx",
"d.ts",
"node"
],
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
},
"roots": [
"src"
],
"testMatch": [
"**/*.test.js",
"**/*.test.ts"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
".*/__tests__/.*"
]
},
"keywords": [],
"dependencies": {
"lodash": "^4.17.15",
"mime-types": "^2.1.27",
"pify": "^5.0.0"
},
"devDependencies": {
"@types/lodash": "^4.14.157",
"@types/mime-types": "^2.1.0",
"@types/pify": "^3.0.2"
}
"name": "@takeshape/util",
"version": "5.28.0",
"homepage": "https://www.takeshape.io",
"repository": {
"type": "git",
"url": "github.com:takeshape/takeshape.git"
},
"author": "asprouse",
"license": "UNLICENSED",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"es"
],
"description": "TakeShape Util",
"scripts": {
"lint": "eslint --ext .js --ext .ts --ignore-path .gitignore src",
"test": "jest",
"test-changed": "pnpm run test -- --changedSince=master",
"typecheck": "tsc --skipLibCheck --noEmit",
"clean": "rimraf lib es",
"prepublishOnly": "pnpm run lint && pnpm run test && pnpm run clean && pnpm run build",
"build": "pnpm run build:types && pnpm run build:js && pnpm run build:es",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "cross-env BABEL_MODULES=commonjs babel src --out-dir lib --extensions \".js,.ts\" --ignore '**/__tests__'",
"build:es": "cross-env BABEL_MODULES=es babel src --out-dir es --extensions \".js,.ts\" --ignore '**/__tests__'"
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"json",
"jsx",
"ts",
"tsx",
"d.ts",
"node"
],
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
},
"roots": [
"src"
],
"testMatch": [
"**/*.test.js",
"**/*.test.ts"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
".*/__tests__/.*"
]
},
"keywords": [],
"dependencies": {
"lodash": "^4.17.15",
"mime-types": "^2.1.27",
"pify": "^5.0.0"
},
"devDependencies": {
"@types/lodash": "^4.14.157",
"@types/mime-types": "^2.1.0",
"@types/pify": "^3.0.2"
}
}
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