three-forcegraph
Advanced tools
Comparing version 1.7.1 to 1.7.3
@@ -7,3 +7,2 @@ 'use strict'; | ||
var tinyColor = _interopDefault(require('tinycolor2')); | ||
require('whatwg-fetch'); | ||
var three = require('three'); | ||
@@ -10,0 +9,0 @@ var d3Force3d = require('d3-force-3d'); |
import { schemePaired } from 'd3-scale-chromatic'; | ||
import tinyColor from 'tinycolor2'; | ||
import 'whatwg-fetch'; | ||
import { Mesh, MeshLambertMaterial, BufferGeometry, BufferAttribute, Matrix4, Vector3, SphereGeometry, CylinderGeometry, Line, LineBasicMaterial, Group } from 'three'; | ||
@@ -5,0 +4,0 @@ import { forceSimulation, forceLink, forceManyBody, forceCenter } from 'd3-force-3d'; |
{ | ||
"name": "three-forcegraph", | ||
"version": "1.7.1", | ||
"version": "1.7.3", | ||
"description": "Force-directed graph as a ThreeJS 3d object", | ||
@@ -45,4 +45,3 @@ "unpkg": "dist/three-forcegraph.min.js", | ||
"ngraph.graph": "^0.0.14", | ||
"tinycolor2": "^1.4.1", | ||
"whatwg-fetch": "^2.0.3" | ||
"tinycolor2": "^1.4.1" | ||
}, | ||
@@ -49,0 +48,0 @@ "peerDependencies": { |
@@ -23,6 +23,3 @@ import resolve from 'rollup-plugin-node-resolve'; | ||
babel({ exclude: 'node_modules/**' }) | ||
], | ||
moduleContext: { | ||
[require.resolve('whatwg-fetch')]: 'window' | ||
} | ||
] | ||
}; |
@@ -19,6 +19,3 @@ import babel from 'rollup-plugin-babel'; | ||
babel() | ||
], | ||
moduleContext: { | ||
[require.resolve('whatwg-fetch')]: 'window' | ||
} | ||
] | ||
}; |
@@ -1,2 +0,1 @@ | ||
import 'whatwg-fetch'; | ||
import { | ||
@@ -3,0 +2,0 @@ Mesh, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
9
1151403
9456
- Removedwhatwg-fetch@^2.0.3
- Removedwhatwg-fetch@2.0.4(transitive)