New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-d3-utils

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-d3-utils - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

lib-esm/hooks/useLinearPrimaryTicks.d.ts

15

CHANGELOG.md
# Changelog
## [0.3.0](https://www.github.com/zakodium/react-d3-utils/compare/v0.2.0...v0.3.0) (2021-03-26)
### Features
* add hooks to generate linear and log ticks ([#7](https://www.github.com/zakodium/react-d3-utils/issues/7)) ([35936ac](https://www.github.com/zakodium/react-d3-utils/commit/35936ac25cc65ba07a3935ef77cdd7eb45db9a89))
## [0.2.0](https://www.github.com/zakodium/react-d3-utils/compare/v0.1.1...v0.2.0) (2021-02-08)

@@ -17,13 +24,11 @@

### Bug Fixes
* publish correct directories ([a46b349](https://www.github.com/zakodium/react-d3-utils/commit/a46b349787ed1ba63fde72cbc495c89498607826))
- publish correct directories ([a46b349](https://www.github.com/zakodium/react-d3-utils/commit/a46b349787ed1ba63fde72cbc495c89498607826))
## 0.1.0 (2021-02-05)
### Features
* add ResponsiveChart component ([#1](https://www.github.com/zakodium/react-d3-utils/issues/1)) ([72134a4](https://www.github.com/zakodium/react-d3-utils/commit/72134a42192765b062d1fff9bf4912449c91f7c1))
* align items in group ([4e919fd](https://www.github.com/zakodium/react-d3-utils/commit/4e919fd1c7f3112d14eb7cb4da755335210a84a5))
- add ResponsiveChart component ([#1](https://www.github.com/zakodium/react-d3-utils/issues/1)) ([72134a4](https://www.github.com/zakodium/react-d3-utils/commit/72134a42192765b062d1fff9bf4912449c91f7c1))
- align items in group ([4e919fd](https://www.github.com/zakodium/react-d3-utils/commit/4e919fd1c7f3112d14eb7cb4da755335210a84a5))

@@ -16,3 +16,2 @@ import { useCallback, useRef, useState } from 'react';

if (element !== null) {
// @ts-expect-error: ResizeObserver will only in `lib.dom.d.ts` in TypeScript 4.2
const observer = new ResizeObserver(([entry]) => {

@@ -19,0 +18,0 @@ const bbox = entry.target.getBBox();

export * from './components/AlignGroup';
export * from './components/ResponsiveChart';
export * from './hooks/useBBoxObserver';
export * from './hooks/useLinearPrimaryTicks';
export * from './hooks/useLogTicks';
export * from './components/AlignGroup';
export * from './components/ResponsiveChart';
export * from './hooks/useBBoxObserver';
export * from './hooks/useLinearPrimaryTicks';
export * from './hooks/useLogTicks';
//# sourceMappingURL=index.js.map

@@ -19,3 +19,2 @@ "use strict";

if (element !== null) {
// @ts-expect-error: ResizeObserver will only in `lib.dom.d.ts` in TypeScript 4.2
const observer = new ResizeObserver(([entry]) => {

@@ -22,0 +21,0 @@ const bbox = entry.target.getBBox();

@@ -16,1 +16,3 @@ "use strict";

__exportStar(require("./hooks/useBBoxObserver"), exports);
__exportStar(require("./hooks/useLinearPrimaryTicks"), exports);
__exportStar(require("./hooks/useLogTicks"), exports);
{
"name": "react-d3-utils",
"version": "0.2.0",
"version": "0.3.0",
"description": "Low-level utilities to build charts with React and D3",

@@ -38,2 +38,3 @@ "main": "lib/index.js",

"@babel/core": "^7.12.13",
"@simbathesailor/use-what-changed": "^1.0.0",
"@storybook/addon-actions": "^6.1.17",

@@ -54,4 +55,6 @@ "@storybook/addon-essentials": "^6.1.17",

"dependencies": {
"@types/d3-scale": "^3.2.2",
"d3-scale": "^3.2.3",
"use-resize-observer": "7.0.0"
}
}

Sorry, the diff of this file is not supported yet

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