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

@types/d3-transition

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/d3-transition - npm Package Compare versions

Comparing version 1.1.6 to 1.2.0

27

d3-transition/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for D3JS d3-transition module 1.1
// Type definitions for D3JS d3-transition module 1.2
// Project: https://github.com/d3/d3-transition/, https://d3js.org/d3-transition

@@ -7,6 +7,7 @@ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>

// Robert Moura <https://github.com/robertmoura>
// Nathan Bierema <https://github.com/Methuselah96>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
// Last module patch version validated against: 1.1
// Last module patch version validated against: 1.2.1

@@ -212,3 +213,3 @@ import { ArrayLike, BaseType, Selection, ValueFn } from 'd3-selection';

*/
attrTween(name: string): ValueFn<GElement, Datum, (t: number) => string> | undefined;
attrTween(name: string): ValueFn<GElement, Datum, (this: GElement, t: number) => string> | undefined;
/**

@@ -233,3 +234,3 @@ * Remove the previously-assigned attribute tween of the specified name, if any.

*/
attrTween(name: string, factory: ValueFn<GElement, Datum, (t: number) => string>): this;
attrTween(name: string, factory: ValueFn<GElement, Datum, (this: GElement, t: number) => string>): this;

@@ -287,3 +288,3 @@ /**

*/
styleTween(name: string): ValueFn<GElement, Datum, (t: number) => string> | undefined;
styleTween(name: string): ValueFn<GElement, Datum, (this: GElement, t: number) => string> | undefined;
/**

@@ -309,3 +310,3 @@ * Remove the previously-assigned style tween of the specified name, if any.

*/
styleTween(name: string, factory: ValueFn<GElement, Datum, (t: number) => string>, priority?: null | 'important'): this;
styleTween(name: string, factory: ValueFn<GElement, Datum, (this: GElement, t: number) => string>, priority?: null | 'important'): this;

@@ -344,3 +345,3 @@ /**

*/
tween(name: string): ValueFn<GElement, Datum, (t: number) => void> | undefined;
tween(name: string): ValueFn<GElement, Datum, (this: GElement, t: number) => void> | undefined;
/**

@@ -366,3 +367,3 @@ * Removes the tween with the specified name, if a tween was previously assigned to

*/
tween(name: string, tweenFn: ValueFn<GElement, Datum, (t: number) => void>): this;
tween(name: string, tweenFn: ValueFn<GElement, Datum, (this: GElement, t: number) => void>): this;

@@ -439,7 +440,8 @@ /**

* @param typenames The typenames is one of the following string event types: start (when the transition starts), end (when the transition ends),
* interrupt (when the transition is interrupted.) Note that these are not native DOM events. The type may be optionally followed by a period (.) and a name;
* interrupt (when the transition is interrupted), cancel(when the transition is cancelled).
* Note that these are not native DOM events. The type may be optionally followed by a period (.) and a name;
* the optional name allows multiple callbacks to be registered to receive events of the same type, such as "start.foo"" and "start.bar".
* To specify multiple typenames, separate typenames with spaces, such as "interrupt end"" or "start.foo start.bar".
*/
on(type: string): ValueFn<GElement, Datum, void> | undefined;
on(typenames: string): ValueFn<GElement, Datum, void> | undefined;
/**

@@ -461,3 +463,4 @@ * Remove all listeners for a given name.

* @param typenames The typenames is one of the following string event types: start (when the transition starts), end (when the transition ends),
* interrupt (when the transition is interrupted.) Note that these are not native DOM events. The type may be optionally followed by a period (.) and a name;
* interrupt (when the transition is interrupted), cancel(when the transition is cancelled).
* Note that these are not native DOM events. The type may be optionally followed by a period (.) and a name;
* the optional name allows multiple callbacks to be registered to receive events of the same type, such as "start.foo"" and "start.bar".

@@ -469,3 +472,3 @@ * To specify multiple typenames, separate typenames with spaces, such as "interrupt end"" or "start.foo start.bar".

*/
on(type: string, listener: ValueFn<GElement, Datum, void>): this;
on(typenames: string, listener: ValueFn<GElement, Datum, void>): this;

@@ -472,0 +475,0 @@ /**

{
"name": "@types/d3-transition",
"version": "1.1.6",
"version": "1.2.0",
"description": "TypeScript definitions for D3JS d3-transition module",

@@ -26,2 +26,7 @@ "license": "MIT",

"githubUsername": "robertmoura"
},
{
"name": "Nathan Bierema",
"url": "https://github.com/Methuselah96",
"githubUsername": "Methuselah96"
}

@@ -40,4 +45,4 @@ ],

},
"typesPublisherContentHash": "59e65e62fdfb363063778aac7bd5cfe0538c5d0a382deedad3871d79e94d3c4c",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "9c28cf3116b14761e8eded88f12336bda94fe051a043eafc8417e9dd1a0f9cef",
"typeScriptVersion": "3.2"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 29 Jan 2020 22:02:37 GMT
* Last updated: Tue, 29 Sep 2020 22:54:47 GMT
* Dependencies: [@types/d3-selection](https://npmjs.com/package/@types/d3-selection)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Tom Wanzek (https://github.com/tomwanzek), Alex Ford (https://github.com/gustavderdrache), Boris Yankov (https://github.com/borisyankov), and Robert Moura (https://github.com/robertmoura).
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [Robert Moura](https://github.com/robertmoura), and [Nathan Bierema](https://github.com/Methuselah96).

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