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

d3-interpolate

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-interpolate - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

dist/d3-interpolate.js

12

package.json
{
"name": "d3-interpolate",
"version": "1.3.0",
"version": "1.3.1",
"description": "Interpolate numbers, colors, strings, arrays, objects, whatever!",

@@ -18,3 +18,3 @@ "keywords": [

},
"main": "build/d3-interpolate.js",
"main": "dist/d3-interpolate.min.js",
"module": "index",

@@ -27,6 +27,6 @@ "jsnext:main": "index",

"scripts": {
"pretest": "rm -rf build && mkdir build && rollup -c",
"test": "tape 'test/**/*-test.js' && eslint index.js src test",
"prepublish": "yarn test",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-interpolate/build/d3-interpolate.js d3-interpolate.v1.js && cp ../d3-interpolate/build/d3-interpolate.min.js d3-interpolate.v1.min.js && git add d3-interpolate.v1.js d3-interpolate.v1.min.js && git commit -m \"d3-interpolate ${npm_package_version}\" && git push && cd - && zip -j build/d3-interpolate.zip -- LICENSE README.md build/d3-interpolate.js build/d3-interpolate.min.js"
"pretest": "rollup -c",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublishOnly": "rm -rf dist && yarn test",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v1.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v1.min.js && git add ${npm_package_name}.v1.js ${npm_package_name}.v1.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"
},

@@ -33,0 +33,0 @@ "dependencies": {

@@ -6,10 +6,11 @@ import {terser} from "rollup-plugin-terser";

input: "index.js",
external: Object.keys(meta.dependencies),
external: Object.keys(meta.dependencies || {}),
output: {
file: `build/${meta.name}.js`,
file: `dist/${meta.name}.js`,
name: "d3",
format: "umd",
indent: false,
extend: true,
banner: `// ${meta.homepage} Version ${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}.`,
globals: Object.assign({}, ...Object.keys(meta.dependencies).map(key => ({[key]: "d3"})))
banner: `// ${meta.homepage} v${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}`,
globals: Object.assign({}, ...Object.keys(meta.dependencies || {}).map(key => ({[key]: "d3"})))
},

@@ -25,3 +26,3 @@ plugins: []

...config.output,
file: `build/${meta.name}.min.js`
file: `dist/${meta.name}.min.js`
},

@@ -28,0 +29,0 @@ plugins: [

Sorry, the diff of this file is not supported yet

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