@lottiefiles/lottie-player
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -30,2 +30,6 @@ import { LitElement } from "lit"; | ||
} | ||
export declare type Versions = { | ||
lottieWebVersion: string; | ||
lottiePlayerVersion: string; | ||
}; | ||
/** | ||
@@ -132,2 +136,6 @@ * Parse a resource into a JSON object or a URL string | ||
/** | ||
* Returns the lottie-web version and this player's version | ||
*/ | ||
getVersions(): Versions; | ||
/** | ||
* Start playing animation. | ||
@@ -191,3 +199,3 @@ */ | ||
*/ | ||
static get styles(): any; | ||
static get styles(): import("lit").CSSResult; | ||
/** | ||
@@ -194,0 +202,0 @@ * Cleanup on component destroy. |
/** | ||
* Copyright 2021 Design Barn Inc. | ||
*/ | ||
declare const _default: any; | ||
declare const _default: import("lit").CSSResult; | ||
export default _default; | ||
//# sourceMappingURL=lottie-player.styles.d.ts.map |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
static get styles(): any; | ||
static get styles(): import("lit").CSSResult; | ||
protected formatCheck(data: any): string[]; | ||
@@ -27,0 +27,0 @@ private checkLayer; |
/** | ||
* Copyright 2022 Design Barn Inc. | ||
*/ | ||
declare const _default: any; | ||
declare const _default: import("lit-element").CSSResult; | ||
export default _default; | ||
//# sourceMappingURL=tgs-player.styles.d.ts.map |
{ | ||
"name": "@lottiefiles/lottie-player", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Lottie animation and Telegram Sticker player web components.", | ||
@@ -14,3 +14,5 @@ "main": "dist/lottie-player.js", | ||
"scripts": { | ||
"prestart": "node -p \"'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts", | ||
"start": "npm run cleanup && rollup -c --watch", | ||
"prebuild": "node -p \"'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts", | ||
"build": "npm run cleanup && npm run build-lottie && npm run build-tgs", | ||
@@ -34,3 +36,3 @@ "build-with-coverage": "npm run cleanup && CODE_COVERAGE=true npm run build-lottie && CODE_COVERAGE=true npm run build-tgs", | ||
"lit": "^2.1.2", | ||
"lottie-web": "^5.9.6", | ||
"lottie-web": "^5.10.0", | ||
"pako": "^2.0.4", | ||
@@ -37,0 +39,0 @@ "resize-observer-polyfill": "^1.5.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
21
0
0
1
8
6857504
6248
Updatedlottie-web@^5.10.0