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

mapexplorer-core

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapexplorer-core - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

13

karma.conf.js

@@ -40,3 +40,6 @@ var path = require('path');

},
{loader: 'json', test: /\.json$/}
{
loader: 'json',
test: /\.json$/
}
]

@@ -46,2 +49,8 @@ },

fs: 'empty'
},
},
webpackMiddleware: {
stats: {
chunks: false,
}

@@ -93,4 +102,4 @@ },

// if true, it capture browsers, run tests and exit
singleRun: true
singleRun: false
})
};

8

lib/ChainTree.js

@@ -46,3 +46,3 @@ 'use strict';

this.svg = (0, _d3Selection.select)(element.find('svg')[0]);
this.svg = (0, _d3Selection.select)(element).append('svg');
this.innerG = this.svg.append('g');

@@ -117,8 +117,2 @@

});
// .attr('d', d => finalLink(d, 15));
// .attr('d', d => {
// const o = d.source && d.source.x0 ? { x: d.source.x0, y: d.source.y0 } :
// { x: root.x0, y: root.y0 };
// return makeLink(o);
// });

@@ -125,0 +119,0 @@ var linkUpdate = this.innerG.selectAll('path.link:not(.init)').transition(treeTransition);

@@ -6,2 +6,3 @@ 'use strict';

});
exports.defaultOptions = undefined;

@@ -44,3 +45,3 @@ var _extends = Object.assign || 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; };

var defaultOptions = {
var defaultOptions = exports.defaultOptions = {
withArgs: false,

@@ -47,0 +48,0 @@ duration: 750,

{
"name": "mapexplorer-core",
"version": "0.0.14",
"version": "0.0.15",
"description": "Core library for building Map Explorer components",

@@ -8,4 +8,5 @@ "main": "lib/index.js",

"test": "karma start karma.conf.js",
"test:ci": "npm test -- --single-run",
"lint": "eslint src test",
"check": "npm run lint && npm run test",
"check": "npm run lint && npm run test:ci",
"build:lib": "babel src --out-dir lib",

@@ -71,2 +72,3 @@ "build:umd": "webpack src/index.js dist/mapexplorer-core.js --config webpack.config.js",

"d3-selection": "^1.0.0",
"d3-transition": "^1.0.1",
"d3-zoom": "^1.0.2",

@@ -73,0 +75,0 @@ "deepmerge": "^0.2.10",

@@ -21,6 +21,5 @@ import { makeLink, finalLink, translate } from './treeUtils';

this.svg = select(element.find('svg')[0]);
this.svg = select(element).append('svg');
this.innerG = this.svg.append('g');
this.zoomed = () => this.innerG.attr('transform', event.transform);

@@ -92,8 +91,2 @@ }

.attr('id', d => `link-${d.target.id}`);
// .attr('d', d => finalLink(d, 15));
// .attr('d', d => {
// const o = d.source && d.source.x0 ? { x: d.source.x0, y: d.source.y0 } :
// { x: root.x0, y: root.y0 };
// return makeLink(o);
// });

@@ -100,0 +93,0 @@ const linkUpdate = this.innerG.selectAll('path.link:not(.init)').transition(treeTransition);

@@ -9,3 +9,3 @@ import ChainTree from './ChainTree';

const defaultOptions = {
export const defaultOptions = {
withArgs: false,

@@ -12,0 +12,0 @@ duration: 750,

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