Socket
Socket
Sign inDemoInstall

d3-selection-multi

Package Overview
Dependencies
1
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.8 to 0.2.9

2

build/bundle.js

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

var version = "0.2.8"; export * from "../index"; export {version};
var version = "0.2.9"; export * from "../index"; export {version};
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-selection')) :
typeof define === 'function' && define.amd ? define('d3-selection-multi', ['exports', 'd3-selection'], factory) :
factory((global.d3_selection_multi = {}),global.d3_selection);
typeof define === 'function' && define.amd ? define(['exports', 'd3-selection'], factory) :
(factory((global.d3_selection_multi = {}),global.d3_selection));
}(this, function (exports,d3Selection) { 'use strict';

@@ -76,3 +76,3 @@

var version = "0.2.8";
var version = "0.2.9";

@@ -79,0 +79,0 @@ exports.version = version;

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-selection")):"function"==typeof define&&define.amd?define("d3-selection-multi",["exports","d3-selection"],e):e(t.d3_selection_multi={},t.d3_selection)}(this,function(t,e){"use strict";function i(t){if("function"==typeof t)return this.each(function(){var i=t.apply(this,arguments);for(var r in i){var n=i[r];r=e.namespace(r),null==n?r.local?this.removeAttributeNS(r.space,r.local):this.removeAttribute(r):r.local?this.setAttributeNS(r.space,r.local,n):this.setAttribute(r,n)}});for(var i in t)this.attr(i,t[i]);return this}function r(t,e){if(arguments.length<2&&(e=""),"function"==typeof t)return this.each(function(){var i=t.apply(this,arguments);for(var r in i){var n=i[r];null==n?this.style.removeProperty(r):this.style.setProperty(r,n,e)}});for(var i in t)this.style(i,t[i],e);return this}function n(t){if("function"==typeof t)return this.each(function(){var e=t.apply(this,arguments);for(var i in e){var r=e[i];null==r?delete this[i]:this[i]=r}});for(var e in t)this.property(e,t[e]);return this}e.selection.prototype.attrs=i,e.selection.prototype.styles=r,e.selection.prototype.properties=n;var o="0.2.8";t.version=o});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-selection")):"function"==typeof define&&define.amd?define(["exports","d3-selection"],e):e(t.d3_selection_multi={},t.d3_selection)}(this,function(t,e){"use strict";function i(t){if("function"==typeof t)return this.each(function(){var i=t.apply(this,arguments);for(var r in i){var n=i[r];r=e.namespace(r),null==n?r.local?this.removeAttributeNS(r.space,r.local):this.removeAttribute(r):r.local?this.setAttributeNS(r.space,r.local,n):this.setAttribute(r,n)}});for(var i in t)this.attr(i,t[i]);return this}function r(t,e){if(arguments.length<2&&(e=""),"function"==typeof t)return this.each(function(){var i=t.apply(this,arguments);for(var r in i){var n=i[r];null==n?this.style.removeProperty(r):this.style.setProperty(r,n,e)}});for(var i in t)this.style(i,t[i],e);return this}function n(t){if("function"==typeof t)return this.each(function(){var e=t.apply(this,arguments);for(var i in e){var r=e[i];null==r?delete this[i]:this[i]=r}});for(var e in t)this.property(e,t[e]);return this}e.selection.prototype.attrs=i,e.selection.prototype.styles=r,e.selection.prototype.properties=n;var o="0.2.9";t.version=o});
{
"name": "d3-selection-multi",
"version": "0.2.8",
"version": "0.2.9",
"description": "Multi-value map syntax for D3 selections.",

@@ -23,13 +23,14 @@ "keywords": [

"scripts": {
"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-selection:d3_selection -u d3-selection-multi -n d3_selection_multi -o build/d3-selection-multi.js -- build/bundle.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-selection:d3_selection -n d3_selection_multi -o build/d3-selection-multi.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && uglifyjs build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js && rm -f build/d3-selection-multi.zip && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js"
"prepublish": "npm run test && uglifyjs build/d3-selection-multi.js -c -m -o build/d3-selection-multi.min.js && rm -f build/d3-selection-multi.zip && zip -j build/d3-selection-multi.zip -- LICENSE README.md build/d3-selection-multi.js build/d3-selection-multi.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-selection-multi.js ../d3.github.com/d3-selection-multi.v0.2.js && cp build/d3-selection-multi.min.js ../d3.github.com/d3-selection-multi.v0.2.min.js && cd ../d3.github.com && git add d3-selection-multi.v0.2.js d3-selection-multi.v0.2.min.js && git commit -m \"d3-selection-multi ${VERSION}\" && git push"
},
"dependencies": {
"d3-selection": "~0.4.12"
"d3-selection": "~0.6.5"
},
"devDependencies": {
"faucet": "0.0",
"rollup": "0.20.5",
"jsdom": "7",
"rollup": "0.25",
"jsdom": "8",
"tape": "4",

@@ -36,0 +37,0 @@ "uglify-js": "2"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc