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

d3-transition

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-transition - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

build/bundle.js

11

index.js

@@ -1,5 +0,8 @@

import transition from "./src/transition";
import {selection} from "d3-selection";
import selection_interrupt from "./src/selection-interrupt";
import selection_transition from "./src/selection-transition";
export {
transition
};
selection.prototype.interrupt = selection_interrupt;
selection.prototype.transition = selection_transition;
export {default as transition} from "./src/transition";
{
"name": "d3-transition",
"version": "0.0.5",
"version": "0.0.6",
"description": "Animated transitions for D3 selections.",

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

},
"main": "build/transition.cjs",
"main": "build/d3-transition.js",
"jsnext:main": "index",

@@ -25,14 +25,14 @@ "repository": {

"scripts": {
"pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/transition.cjs.js",
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-ease:d3_ease,d3-selection:d3_selection,d3-timer:d3_timer -u d3-transition -n d3_transition -o build/d3-transition.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && d3-bundler -n transition -o build/transition.js && uglifyjs build/transition.js -c -m -o build/transition.min.js && rm -f build/transition.zip && zip -j build/transition.zip -- LICENSE README.md build/transition.js build/transition.min.js"
"prepublish": "npm run test && uglifyjs build/d3-transition.js -c -m -o build/d3-transition.min.js && rm -f build/d3-transition.zip && zip -j build/d3-transition.zip -- LICENSE README.md build/d3-transition.js build/d3-transition.min.js"
},
"dependencies": {
"d3-ease": "~0.1.4",
"d3-selection": "~0.4.10",
"d3-timer": "~0.0.5"
"d3-ease": "~0.1.5",
"d3-selection": "~0.4.12",
"d3-timer": "~0.0.6"
},
"devDependencies": {
"d3-bundler": "~0.4.0",
"faucet": "0.0",
"rollup": "0.20.5",
"jsdom": "7",

@@ -39,0 +39,0 @@ "tape": "4",

import {selection} from "d3-selection";
import {timer} from "d3-timer";
import selection_interrupt from "./selection-interrupt";
import selection_transition from "./selection-transition";
import transition_ease from "./transition-ease";
var maxId = 0,
proto = selection.prototype;
var maxId = 0;

@@ -22,7 +19,4 @@ export function Transition(root, depth, key, id) {

proto.interrupt = selection_interrupt;
proto.transition = selection_transition;
Transition.prototype = transition.prototype = {
each: proto.each,
each: selection.prototype.each,
ease: transition_ease

@@ -35,3 +29,2 @@ };

if (lock.scheduled(id)) return;
};

@@ -38,0 +31,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