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

nanocolors

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

nanocolors - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

index.browser.cjs

2

index.browser.js

@@ -61,3 +61,3 @@ let nope = s => String(s)

module.exports = {
export {
isColorSupported,

@@ -64,0 +64,0 @@ reset,

@@ -1,2 +0,2 @@

let tty = require('tty')
import tty from 'tty'

@@ -130,3 +130,3 @@ let isDisabled = 'NO_COLOR' in process.env

module.exports = {
export {
isColorSupported,

@@ -133,0 +133,0 @@ reset,

{
"name": "nanocolors",
"version": "0.1.4",
"version": "0.1.5",
"description": "2x times faster than chalk and use 5x less space in node_modules",

@@ -23,4 +23,20 @@ "keywords": [

"browser": {
"./index.js": "./index.browser.js"
"./index.js": "./index.browser.js",
"./index.cjs": "./index.browser.cjs"
},
"type": "module",
"main": "index.cjs",
"module": "index.js",
"react-native": "index.js",
"exports": {
".": {
"browser": "./index.browser.js",
"require": "./index.cjs",
"import": "./index.js",
"default": "./index.js",
"types": "./index.d.ts"
},
"./package.json": "./package.json",
"./index.d.ts": "./index.d.ts"
}
}
}
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