New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bgrins/test-tinycolor-esm

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bgrins/test-tinycolor-esm - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

build.js

19

package.json
{
"module": "./esm/mod.js",
"main": "./script/mod.js",
"name": "@bgrins/test-tinycolor-esm",
"version": "0.0.3",
"version": "0.0.4",
"description": "Fast Color Parsing and Manipulation",

@@ -22,16 +20,13 @@ "author": "Brian Grinstead <briangrinstead@gmail.com> (http://briangrinstead.com)",

],
"module": "./mod.js",
"main": "./tinycolor.js",
"exports": {
".": {
"import": "./esm/mod.js",
"require": "./script/mod.js"
"import": "./mod.js",
"require": "./tinycolor.js"
}
},
"scripts": {
"test": "node test_runner.js"
},
"devDependencies": {
"@types/node": "^18.11.9",
"chalk": "^4.1.2",
"@deno/shim-deno": "~0.11.0"
"@deno/shim-deno-test": "^0.4.0"
}
}
}

@@ -11,4 +11,6 @@ # TinyColor

Download [tinycolor.js](https://raw.githubusercontent.com/bgrins/TinyColor/master/dist/).
Download [tinycolor.js](https://raw.githubusercontent.com/bgrins/TinyColor/master/tinycolor.js) or install it with bower:
bower install tinycolor
Then just include it in the page in a `script` tag:

@@ -21,11 +23,2 @@ ```html

```
Or using ESM with:
```html
<script type="module">
import tinycolor from "https://esm.sh/tinycolor2";
var color = tinycolor("red");
</script>
```
## Including in node

@@ -32,0 +25,0 @@

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