@d3fc/d3fc-sample
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -6,2 +6,10 @@ # Change Log | ||
## 5.0.1 (2020-07-14) | ||
**Note:** Version bump only for package @d3fc/d3fc-sample | ||
# 5.0.0 (2020-04-16) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@d3fc/d3fc-sample", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "A data subsampler that chooses representative data points using a largest triangle or mode-median approach.", | ||
@@ -21,7 +21,6 @@ "license": "MIT", | ||
"bundle": "npx rollup -c ../../scripts/rollup.config.js", | ||
"test": " npx jasmine --config=../../scripts/jasmine.json", | ||
"start": "npm start --prefix ../d3fc -- --configPkg=d3fc-sample" | ||
}, | ||
"dependencies": { | ||
"@d3fc/d3fc-rebind": "^6.0.0" | ||
"@d3fc/d3fc-rebind": "^6.0.1" | ||
}, | ||
@@ -34,3 +33,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "42460bbd9e769aa24b07ae8e6dc7037c63d3bea8" | ||
"gitHead": "3c6890b82dbb430bafd52420c0dd506861f16f5d" | ||
} |
@@ -25,3 +25,3 @@ import bucket from '../src/bucket'; | ||
const bucketedData = dataBucketer.bucketSize(3)(data); | ||
expect(bucketedData.length).toEqual(6); | ||
expect(bucketedData).toHaveLength(6); | ||
expect(bucketedData[0]).toEqual([0, 1, 6]); | ||
@@ -28,0 +28,0 @@ expect(bucketedData[1]).toEqual([4, 8, 4]); |
@@ -8,8 +8,8 @@ import jsdom from 'jsdom'; | ||
virtualConsole: jsdom.createVirtualConsole().sendTo({ | ||
error: fail | ||
error: done | ||
}), | ||
scripts: [ | ||
require.resolve('d3/dist/d3.js'), | ||
'./node_modules/@d3fc/d3fc-rebind/build/d3fc-rebind.js', | ||
'./build/d3fc-sample.js' | ||
require.resolve('../node_modules/@d3fc/d3fc-rebind/build/d3fc-rebind.js'), | ||
require.resolve('../build/d3fc-sample.js') | ||
], | ||
@@ -16,0 +16,0 @@ done: (_, win) => { |
@@ -44,3 +44,3 @@ import largestTriangleOneBucket from '../src/largestTriangleOneBucket'; | ||
var sampledData = dataGenerator(data); | ||
expect(sampledData.length).toEqual(7); | ||
expect(sampledData).toHaveLength(7); | ||
}); | ||
@@ -47,0 +47,0 @@ |
@@ -44,3 +44,3 @@ import largestTriangleThreeBucket from '../src/largestTriangleThreeBucket'; | ||
var sampledData = dataGenerator(data); | ||
expect(sampledData.length).toEqual(7); | ||
expect(sampledData).toHaveLength(7); | ||
}); | ||
@@ -47,0 +47,0 @@ |
@@ -23,3 +23,3 @@ import modeMedian from '../src/modeMedian'; | ||
var subsampledData = bucketGenerator.bucketSize(5)(data); | ||
expect(subsampledData.length).toEqual(5); | ||
expect(subsampledData).toHaveLength(5); | ||
}); | ||
@@ -26,0 +26,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81202
Updated@d3fc/d3fc-rebind@^6.0.1