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

@fishawack/lab-d3

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fishawack/lab-d3 - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

12

package.json
{
"name": "@fishawack/lab-d3",
"version": "4.1.2",
"version": "4.1.3",
"description": "Abstract layer built on top of d3",

@@ -14,3 +14,3 @@ "scripts": {

"mail": "npm run mail --prefix node_modules/@fishawack/core/",
"preversion": "rimraf src && mkdir src && babel _Build/js/ --out-dir src/ --ignore \"_Build/js/script.js\",\"_Build/js/archive/**/*.js\",\"_Build/js/generated/**/*.js\",\"_Build/js/libs/archive/**/*.js\",\"_Build/js/libs/*.js\""
"preversion": "mkdir src && babel _Build/js/ --out-dir src/ --ignore \"_Build/js/script.js\",\"_Build/js/archive/**/*.js\",\"_Build/js/generated/**/*.js\",\"_Build/js/libs/archive/**/*.js\",\"_Build/js/libs/*.js\""
},

@@ -32,10 +32,8 @@ "license": "BSD-3-Clause",

"@babel/preset-env": "7.3.1",
"@fishawack/core": "^8.13.1",
"@fishawack/lab-ui": "^12.4.2",
"rimraf": "2.6.3"
"@fishawack/core": "^8.16.1",
"@fishawack/lab-ui": "^12.4.2"
},
"dependencies": {
"d3": "5.4.0",
"moment": "2.18.1",
"seedrandom": "2.4.4"
"moment": "2.18.1"
},

@@ -42,0 +40,0 @@ "sideEffects": false,

@@ -31,7 +31,2 @@ "use strict";

}
},
random: {
seed: 0,
call: null,
scale: null
}

@@ -76,8 +71,2 @@ });

_.width = local.plotWidth[_.pA];
if (att.random.scale) {
if (!att.random.call) {
att.random.call = Shared.seedRandom(att.random.seed);
}
_[_.pA] += (att.random.call() - 0.5) * (_.width * att.random.scale);
}
_.index = Shared.getPrimaryIndex(element, att.primaryIndex);

@@ -84,0 +73,0 @@ };

@@ -5,3 +5,2 @@ "use strict";

function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import seedrandom from 'seedrandom';
var d3 = _extends({}, require("d3-selection"), require("d3-array"), require("d3-format"));

@@ -339,5 +338,2 @@ var inited = false;

},
seedRandom: function seedRandom(seed) {
return seedrandom(seed);
},
applyThresholds: function applyThresholds(value, node, att, d) {

@@ -344,0 +340,0 @@ var _att$threshold = att.threshold,

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