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

@d3fc/d3fc-extent

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d3fc/d3fc-extent - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## 4.0.1 (2020-07-14)
**Note:** Version bump only for package @d3fc/d3fc-extent
# 4.0.0 (2020-04-16)

@@ -8,0 +16,0 @@

5

package.json
{
"name": "@d3fc/d3fc-extent",
"version": "4.0.0",
"version": "4.0.1",
"description": "Extends the d3 extent functionality to allow multiple accessors, padding and date support",

@@ -23,3 +23,2 @@ "license": "MIT",

"bundle": "npx rollup -c ../../scripts/rollup.config.js",
"test": " npx jasmine --config=../../scripts/jasmine.json",
"start": "npm start --prefix ../d3fc -- --configPkg=d3fc-extent"

@@ -33,3 +32,3 @@ },

},
"gitHead": "42460bbd9e769aa24b07ae8e6dc7037c63d3bea8"
"gitHead": "3c6890b82dbb430bafd52420c0dd506861f16f5d"
}

4

test/bundleSpec.js

@@ -8,7 +8,7 @@ import jsdom from 'jsdom';

virtualConsole: jsdom.createVirtualConsole().sendTo({
error: fail
error: done
}),
scripts: [
require.resolve('d3/dist/d3.js'),
'./build/d3fc-extent.js'
require.resolve('../build/d3fc-extent.js')
],

@@ -15,0 +15,0 @@ done: (_, win) => {

@@ -65,3 +65,3 @@ import dateExtent from '../src/date';

const date = new Date(2014, 0, 1);
spyOn(date, 'valueOf');
jest.spyOn(date, 'valueOf');
dateExtent().accessors([d => d])([date]);

@@ -73,3 +73,3 @@ expect(date.valueOf).toHaveBeenCalled();

const date = new Date(2014, 0, 1);
spyOn(date, 'valueOf');
jest.spyOn(date, 'valueOf');
dateExtent().accessors([d => [d, d]])([date]);

@@ -76,0 +76,0 @@ expect(date.valueOf).toHaveBeenCalled();

@@ -65,3 +65,3 @@ import timeExtent from '../src/time';

const date = new Date(2014, 0, 1);
spyOn(date, 'valueOf');
jest.spyOn(date, 'valueOf');
timeExtent().accessors([d => d])([date]);

@@ -73,3 +73,3 @@ expect(date.valueOf).toHaveBeenCalled();

const date = new Date(2014, 0, 1);
spyOn(date, 'valueOf');
jest.spyOn(date, 'valueOf');
timeExtent().accessors([d => [d, d]])([date]);

@@ -76,0 +76,0 @@ expect(date.valueOf).toHaveBeenCalled();

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