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

colors-option

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

colors-option - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

8

build/src/options.js
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": {

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