vue3-lottie
Advanced tools
Comparing version 1.6.0 to 2.0.0
104
package.json
{ | ||
"name": "vue3-lottie", | ||
"version": "1.6.0", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
@@ -8,23 +8,16 @@ "author": "Sanjay Soundarajan <info@sanjaysoundarajan.dev> (https://sanjaysoundarajan.dev)", | ||
"dev": "vue-cli-service serve dev/serve.ts", | ||
"build": "cross-env NODE_ENV=production rollup --config build/rollup.config.js", | ||
"build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es", | ||
"build:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs", | ||
"build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife", | ||
"prebuild": "rimraf ./dist", | ||
"prepublish": "npm run build", | ||
"build": "vite build && tsc -d --emitDeclarationOnly && vue-typegen gen -s ./src -o ./dist", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint \"{packages,playground}/**/*.{ts,tsx,vue,js,jsx,html}\"", | ||
"prepublishOnly": "npm run build", | ||
"prettier": "npx prettier --write ." | ||
}, | ||
"dependencies": { | ||
"lottie-web": "^5.8.1", | ||
"vue-class-component": "^8.0.0-0" | ||
"lottie-web": "^5.8.1" | ||
}, | ||
"peerDependencies": { | ||
"vue": "^3.2.4" | ||
"vue": "^3.2" | ||
}, | ||
"files": [ | ||
"dist/*", | ||
"src/**/*.vue", | ||
"types/*" | ||
"dist", | ||
"dist/*.css" | ||
], | ||
@@ -35,61 +28,25 @@ "repository": { | ||
}, | ||
"main": "dist/vue3-lottie.ssr.js", | ||
"module": "dist/vue3-lottie.esm.js", | ||
"browser": "dist/vue3-lottie.esm.js", | ||
"unpkg": "dist/vue3-lottie.min.js", | ||
"types": "types/shims.d.ts", | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"main": "dist/vue3-lottie.umd.js", | ||
"module": "dist/vue3-lottie.es.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/vue3-lottie.es.js", | ||
"require": "./dist/vue3-lottie.umd.js" | ||
}, | ||
"./dist/style.css": "./dist/style.css" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.14.6", | ||
"@babel/preset-env": "^7.14.7", | ||
"@commitlint/cli": "^12.1.1", | ||
"@commitlint/config-conventional": "^12.1.1", | ||
"@rollup/plugin-alias": "^3.1.5", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-buble": "^0.21.3", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-node-resolve": "^13.0.4", | ||
"@rollup/plugin-replace": "^3.0.1", | ||
"@types/lodash-es": "^4.17.4", | ||
"@types/node": "^15.3.1", | ||
"@typescript-eslint/eslint-plugin": "^4.25.0", | ||
"@typescript-eslint/parser": "^4.25.0", | ||
"@vitejs/plugin-vue": "^1.2.2", | ||
"@vitejs/plugin-vue-jsx": "^1.1.4", | ||
"@vue/cli-plugin-babel": "^4.5.13", | ||
"@vue/cli-plugin-typescript": "~4.5.0", | ||
"@vue/cli-service": "^4.5.13", | ||
"@vue/compiler-sfc": "^3.0.11", | ||
"@vue/eslint-config-standard": "^6.0.0", | ||
"@vue/eslint-config-typescript": "^7.0.0", | ||
"@zerollup/ts-transform-paths": "^1.7.18", | ||
"autoprefixer": "^10.3.4", | ||
"babel-eslint": "^10.1.0", | ||
"copyfiles": "^2.4.1", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^7.26.0", | ||
"eslint-plugin-import": "^2.23.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-promise": "^4.3.1", | ||
"eslint-plugin-vue": "^7.9.0", | ||
"husky": "^7.0.4", | ||
"minimist": "^1.2.5", | ||
"postcss": "^8.2.10", | ||
"prettier": "^2.5.1", | ||
"prettier-eslint": "^13.0.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.52.8", | ||
"rollup-plugin-delete": "^2.0.0", | ||
"rollup-plugin-postcss": "^4.0.1", | ||
"rollup-plugin-scss": "^3.0.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript2": "^0.31.0", | ||
"rollup-plugin-vue": "^6.0.0", | ||
"sass": "^1.41.1", | ||
"ttypescript": "^1.5.12", | ||
"typescript": "^4.2.4", | ||
"vite": "^2.5.6", | ||
"vue": "^3.0.5", | ||
"vue-server-renderer": "^2.6.14", | ||
"vue-tsc": "^0.3.0" | ||
"@babel/types": "^7.17.0", | ||
"@types/node": "^17.0.18", | ||
"@vitejs/plugin-vue": "^2.2.0", | ||
"typescript": "^4.5.5", | ||
"vite": "^2.8.4", | ||
"vue": "^3.2.31", | ||
"vue-tsc": "^0.31.4", | ||
"vue-typegen": "^0.2.0" | ||
}, | ||
@@ -107,4 +64,3 @@ "bugs": { | ||
"lottie" | ||
], | ||
"sideEffects": false | ||
] | ||
} |
@@ -40,3 +40,3 @@ # Vue 3 Lottie | ||
```js | ||
import Vue3Lottie from 'vue3-lottie' | ||
import { Vue3Lottie } from 'vue3-lottie' | ||
@@ -58,3 +58,3 @@ export default { | ||
<script> | ||
import Vue3Lottie from 'vue3-lottie' | ||
import { Vue3Lottie } from 'vue3-lottie' | ||
import DogJSON from './lotties/dog.json' | ||
@@ -61,0 +61,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents 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
2
8
3
24369
7
444
1
- Removedvue-class-component@^8.0.0-0
- Removedvue-class-component@8.0.0-rc.1(transitive)