@d3fc/d3fc-zoom
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -6,15 +6,20 @@ # Change Log | ||
## [1.1.1](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-zoom@1.1.0...@d3fc/d3fc-zoom@1.1.1) (2020-11-05) | ||
# [1.2.0](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-zoom@1.1.1...@d3fc/d3fc-zoom@1.2.0) (2024-06-13) | ||
**Note:** Version bump only for package @d3fc/d3fc-zoom | ||
### Bug Fixes | ||
- replace lerna bootstrap with npm workspaces ([bad8c9d](https://github.com/d3fc/d3fc/commit/bad8c9dd84ff0c40a0e9433e9a9015a78339c9d3)) | ||
### Features | ||
- Re-export zoom.scaleExtent and add translateExtent and add source event to zoom dispatcher ([87d2372](https://github.com/d3fc/d3fc/commit/87d2372850b5b0c76bd8d1b09f06078b0a649865)) | ||
## [1.1.1](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-zoom@1.1.0...@d3fc/d3fc-zoom@1.1.1) (2020-11-05) | ||
**Note:** Version bump only for package @d3fc/d3fc-zoom | ||
# 1.1.0 (2020-10-14) | ||
### Features | ||
* add d3fc-domain-zoom ([94445e5](https://github.com/d3fc/d3fc/commit/94445e5)) | ||
- add d3fc-domain-zoom ([94445e5](https://github.com/d3fc/d3fc/commit/94445e5)) |
{ | ||
"name": "@d3fc/d3fc-zoom", | ||
"version": "1.1.1", | ||
"description": "A zoom component which operates in domain values", | ||
"main": "build/d3fc-zoom.js", | ||
"module": "index", | ||
"scripts": { | ||
"bundle": "npx rollup -c ../../scripts/rollup.config.js", | ||
"start": "npm start --prefix ../d3fc -- --configPkg=d3fc-zoom" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/d3fc/d3fc.git" | ||
}, | ||
"keywords": [ | ||
"d3", | ||
"d3fc", | ||
"domain", | ||
"zoom" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/d3fc/d3fc/issues" | ||
}, | ||
"homepage": "https://github.com/d3fc/d3fc", | ||
"dependencies": { | ||
"@d3fc/d3fc-rebind": "^6.0.1" | ||
}, | ||
"peerDependencies": { | ||
"d3-dispatch": "*", | ||
"d3-selection": "*", | ||
"d3-zoom": "*" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "3273b3ad8ffdf0dcd5d17f943690387ef76c53ce" | ||
"name": "@d3fc/d3fc-zoom", | ||
"version": "1.2.0", | ||
"description": "A zoom component which operates in domain values", | ||
"main": "build/d3fc-zoom.js", | ||
"module": "index", | ||
"scripts": { | ||
"bundle": "npx rollup -c ../../scripts/rollup.config.js", | ||
"start": "npm start --prefix ../d3fc -- --configPkg=d3fc-zoom" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/d3fc/d3fc.git" | ||
}, | ||
"keywords": [ | ||
"d3", | ||
"d3fc", | ||
"domain", | ||
"zoom" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/d3fc/d3fc/issues" | ||
}, | ||
"homepage": "https://github.com/d3fc/d3fc", | ||
"dependencies": { | ||
"@d3fc/d3fc-rebind": "^6.0.1" | ||
}, | ||
"peerDependencies": { | ||
"d3-dispatch": "*", | ||
"d3-selection": "*", | ||
"d3-zoom": "*" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "7d3c433ca26071dcf8c0ef2d6c533c2d9088e50d" | ||
} |
@@ -26,3 +26,4 @@ import { dispatch } from 'd3-dispatch'; | ||
const zoomer = zoom().on('zoom', function({ transform }) { | ||
const zoomer = zoom().on('zoom', function (e) { | ||
const { transform } = e; | ||
const node = this; | ||
@@ -72,3 +73,3 @@ let updatedTransform = transform; | ||
} | ||
dispatcher.call('zoom'); | ||
dispatcher.call('zoom', this, e); | ||
}); | ||
@@ -120,3 +121,5 @@ | ||
'duration', | ||
'interpolate' | ||
'interpolate', | ||
'scaleExtent', | ||
'translateExtent' | ||
); | ||
@@ -123,0 +126,0 @@ |
@@ -13,3 +13,3 @@ import jsdom from 'jsdom'; | ||
require.resolve( | ||
'../node_modules/@d3fc/d3fc-rebind/build/d3fc-rebind.js' | ||
'../../../node_modules/@d3fc/d3fc-rebind/build/d3fc-rebind.js' | ||
), | ||
@@ -16,0 +16,0 @@ require.resolve('../build/d3fc-zoom.js') |
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
10792
8
141