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

@angular/animations

Package Overview
Dependencies
Maintainers
2
Versions
788
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/animations - npm Package Compare versions

Comparing version 14.3.0 to 16.2.12

esm2022/animations.mjs

32

browser/index.d.ts
/**
* @license Angular v14.3.0
* @license Angular v16.2.12
* (c) 2010-2022 Google LLC. https://angular.io/

@@ -60,23 +60,2 @@ * License: MIT

/**
* DOMAnimation represents the Animation Web API.
*
* It is an external API by the browser, and must thus use "declare interface",
* to prevent renaming by Closure Compiler.
*
* @see https://developer.mozilla.org/de/docs/Web/API/Animation
*/
declare interface DOMAnimation {
cancel(): void;
play(): void;
pause(): void;
finish(): void;
onfinish: Function;
position: number;
currentTime: number;
addEventListener(eventName: string, handler: (event: any) => any): any;
dispatchEvent(eventName: string): any;
}
declare class ElementInstructionMap {

@@ -133,3 +112,3 @@ private _map;

onInsert(namespaceId: string, element: any, parent: any, insertBefore: boolean): void;
onRemove(namespaceId: string, element: any, context: any, isHostElement?: boolean): void;
onRemove(namespaceId: string, element: any, context: any): void;
disableAnimations(element: any, disable: boolean): void;

@@ -141,2 +120,3 @@ process(namespaceId: string, element: any, property: string, value: any): void;

whenRenderingDone(): Promise<any>;
afterFlushAnimationsDone(cb: VoidFunction): void;
}

@@ -153,7 +133,7 @@

export declare const ɵcontainsElement: (elm1: any, elm2: any) => boolean;
export declare function ɵcontainsElement(elm1: any, elm2: any): boolean;
export declare function ɵgetParentElement(element: any): unknown | null;
export declare const ɵinvokeQuery: (element: any, selector: string, multi: boolean) => any[];
export declare function ɵinvokeQuery(element: any, selector: string, multi: boolean): any[];

@@ -217,3 +197,3 @@ /**

private _originalOnStartFns;
readonly domPlayer: DOMAnimation;
readonly domPlayer: Animation;
time: number;

@@ -220,0 +200,0 @@ parentPlayer: AnimationPlayer | null;

/**
* @license Angular v14.3.0
* @license Angular v16.2.12
* (c) 2010-2022 Google LLC. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v14.3.0
* @license Angular v16.2.12
* (c) 2010-2022 Google LLC. https://angular.io/

@@ -92,3 +92,3 @@ * License: MIT

*
* @see `animateChild()`
* @see {@link animateChild}
*

@@ -103,3 +103,3 @@ * @publicApi

* Represents animation-step timing parameters for an animation step.
* @see `animate()`
* @see {@link animate}
*

@@ -280,3 +280,3 @@ * @publicApi

* @returns A factory object that can create a player for the defined animation.
* @see `animate()`
* @see {@link animate}
*/

@@ -524,2 +524,3 @@ abstract build(animation: AnimationMetadata | AnimationMetadata[]): AnimationFactory;

/**

@@ -532,5 +533,5 @@ * Provides programmatic control of a reusable animation sequence,

*
* @see `AnimationBuilder`
* @see `AnimationFactory`
* @see `animate()`
* @see {@link AnimationBuilder}
* @see {@link AnimationFactory}
* @see {@link animate}
*

@@ -543,3 +544,3 @@ * @publicApi

* @param fn The callback function.
* @see `finish()`
* @see {@link #finish}
*/

@@ -550,3 +551,3 @@ onDone(fn: () => void): void;

* @param fn The callback function.
* @see `run()`
* @see {@link #play}
*/

@@ -557,4 +558,4 @@ onStart(fn: () => void): void;

* @param fn The callback function.
* @see `destroy()`
* @see `beforeDestroy()`
* @see {@link #destroy}
* @see {@link #beforeDestroy}
*/

@@ -600,3 +601,3 @@ onDestroy(fn: () => void): void;

*/
setPosition(position: any /** TODO #9100 */): void;
setPosition(position: number): void;
/**

@@ -914,5 +915,5 @@ * Reports the current position of the animation.

*
* @see `animate()`
* @see `AnimationPlayer`
* @see `GroupPlayer`
* @see {@link animate}
* @see {@link AnimationPlayer}
* @see {@link ɵAnimationGroupPlayer AnimationGroupPlayer}
*

@@ -1586,4 +1587,4 @@ * @publicApi

*
* @see `AnimationPlayer`
* @see `{@link animations/group group()}`
* @see {@link AnimationPlayer}
* @see {@link animations/group group}
*

@@ -1590,0 +1591,0 @@ */

{
"name": "@angular/animations",
"version": "14.3.0",
"version": "16.2.12",
"description": "Angular - animations integration with web-animations",

@@ -8,3 +8,3 @@ "author": "angular",

"engines": {
"node": "^14.15.0 || >=16.10.0"
"node": "^16.14.0 || >=18.10.0"
},

@@ -15,3 +15,3 @@ "dependencies": {

"peerDependencies": {
"@angular/core": "14.3.0"
"@angular/core": "16.2.12"
},

@@ -44,8 +44,4 @@ "repository": {

"sideEffects": false,
"fesm2020": "./fesm2020/animations.mjs",
"fesm2015": "./fesm2015/animations.mjs",
"esm2020": "./esm2020/animations.mjs",
"module": "./fesm2022/animations.mjs",
"typings": "./index.d.ts",
"module": "./fesm2015/animations.mjs",
"es2020": "./fesm2020/animations.mjs",
"type": "module",

@@ -58,25 +54,19 @@ "exports": {

"types": "./index.d.ts",
"esm2020": "./esm2020/animations.mjs",
"es2020": "./fesm2020/animations.mjs",
"es2015": "./fesm2015/animations.mjs",
"node": "./fesm2015/animations.mjs",
"default": "./fesm2020/animations.mjs"
"esm2022": "./esm2022/animations.mjs",
"esm": "./esm2022/animations.mjs",
"default": "./fesm2022/animations.mjs"
},
"./browser": {
"types": "./browser/index.d.ts",
"esm2020": "./esm2020/browser/browser.mjs",
"es2020": "./fesm2020/browser.mjs",
"es2015": "./fesm2015/browser.mjs",
"node": "./fesm2015/browser.mjs",
"default": "./fesm2020/browser.mjs"
"esm2022": "./esm2022/browser/browser.mjs",
"esm": "./esm2022/browser/browser.mjs",
"default": "./fesm2022/browser.mjs"
},
"./browser/testing": {
"types": "./browser/testing/index.d.ts",
"esm2020": "./esm2020/browser/testing/testing.mjs",
"es2020": "./fesm2020/browser/testing.mjs",
"es2015": "./fesm2015/browser/testing.mjs",
"node": "./fesm2015/browser/testing.mjs",
"default": "./fesm2020/browser/testing.mjs"
"esm2022": "./esm2022/browser/testing/testing.mjs",
"esm": "./esm2022/browser/testing/testing.mjs",
"default": "./fesm2022/browser/testing.mjs"
}
}
}
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