colors-option
Advanced tools
Comparing version 4.1.0 to 4.2.0
import{stdout}from"process"; | ||
import{Stream}from"stream"; | ||
import filterObj from"filter-obj"; | ||
import{excludeKeys}from"filter-obj"; | ||
import isPlainObj from"is-plain-obj"; | ||
@@ -11,3 +11,3 @@ import{validate}from"jest-validate"; | ||
validateOpts(opts); | ||
const optsA=filterObj(opts,isDefined); | ||
const optsA=excludeKeys(opts,isUndefined); | ||
const{ | ||
@@ -42,4 +42,4 @@ colors:colorsA, | ||
const isDefined=function(key,value){ | ||
return value!==undefined; | ||
const isUndefined=function(key,value){ | ||
return value===undefined; | ||
}; | ||
@@ -46,0 +46,0 @@ |
{ | ||
"name": "colors-option", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"type": "module", | ||
@@ -9,4 +9,3 @@ "exports": "./build/src/main.js", | ||
"files": [ | ||
"build/src/**/*.{js,d.ts,map,json,sh,md}", | ||
"examples/**/*.{js,d.ts,map,json,sh,md}" | ||
"build/src/**/*.{js,d.ts,json}" | ||
], | ||
@@ -40,3 +39,3 @@ "scripts": { | ||
"license": "Apache-2.0", | ||
"homepage": "https://git.io/JthtP", | ||
"homepage": "https://www.github.com/ehmicky/colors-option", | ||
"repository": "ehmicky/colors-option", | ||
@@ -48,3 +47,2 @@ "bugs": { | ||
"directories": { | ||
"doc": "docs", | ||
"lib": "src", | ||
@@ -55,11 +53,10 @@ "test": "test" | ||
"chalk": "^5.0.1", | ||
"filter-obj": "^3.0.0", | ||
"filter-obj": "^5.1.0", | ||
"is-plain-obj": "^4.1.0", | ||
"jest-validate": "^28.1.1" | ||
"jest-validate": "^28.1.3" | ||
}, | ||
"devDependencies": { | ||
"@ehmicky/dev-tasks": "^1.0.79", | ||
"@ehmicky/dev-tasks": "^1.0.84", | ||
"@types/node": "^18.0.6", | ||
"test-each": "^5.0.0", | ||
"tsd": "^0.22.0" | ||
"test-each": "^5.2.0" | ||
}, | ||
@@ -66,0 +63,0 @@ "engines": { |
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
3
20016
6
+ Addedfilter-obj@5.1.0(transitive)
- Removedfilter-obj@3.0.0(transitive)
Updatedfilter-obj@^5.1.0
Updatedjest-validate@^28.1.3