@aarsteinmedia/dotlottie-player 4.0.14 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "@aarsteinmedia/dotlottie-player",
3
- "version": "4.0.14",
3
+ "version": "5.0.0",
4
4
  "description": "Web Component for playing Lottie animations in your web app. Previously @johanaarstein/dotlottie-player",
5
5
  "exports": {
6
6
  ".": {
7
- "import": "./dist/esm/index.js",
8
- "node": "./dist/esm/index.js",
9
- "require": "./dist/cjs/index.js",
7
+ "import": "./dist/index.js",
8
+ "node": "./dist/index.js",
10
9
  "types": "./dist/index.d.ts"
11
10
  }
12
11
  },
13
- "main": "./dist/esm/index.js",
14
- "unpkg": "./dist/index.js",
15
- "module": "./dist/esm/index.js",
12
+ "main": "./dist/index.js",
13
+ "unpkg": "./dist/unpkg/index.js",
14
+ "module": "./dist/index.js",
16
15
  "types": "./dist/index.d.ts",
17
16
  "type": "module",
18
17
  "homepage": "https://www.aarstein.media/en/dotlottie-player",
@@ -41,7 +40,7 @@
41
40
  "build": "rollup -c",
42
41
  "prebuild:types": "rimraf ./types",
43
42
  "build:types": "tsc -p ./tsconfig.prod.json && tsc-alias",
44
- "build:cem": "npx cem analyze --config cem.config.mjs",
43
+ "build:cem": "npx cem analyze --config cem.config.js",
45
44
  "prod": "pnpm build:types && pnpm build && pnpm build:cem",
46
45
  "dev": "rollup -c -w --environment NODE_ENV:development",
47
46
  "lint:js": "eslint",
@@ -60,26 +59,27 @@
60
59
  },
61
60
  "devDependencies": {
62
61
  "@custom-elements-manifest/analyzer": "^0.10.4",
63
- "@eslint/compat": "^1.2.6",
64
- "@eslint/js": "^9.20.0",
62
+ "@eslint/compat": "^1.2.7",
63
+ "@eslint/js": "^9.21.0",
65
64
  "@esm-bundle/chai": "4.3.4-fix.0",
66
65
  "@open-wc/testing": "^4.0.0",
67
66
  "@rollup/plugin-commonjs": "^28.0.2",
68
67
  "@rollup/plugin-json": "^6.1.0",
69
68
  "@rollup/plugin-node-resolve": "^16.0.0",
70
69
  "@rollup/plugin-typescript": "^12.1.2",
71
- "@swc/core": "^1.10.18",
70
+ "@swc/core": "^1.11.1",
72
71
  "@types/mocha": "^10.0.10",
73
- "@types/node": "^22.13.4",
72
+ "@types/node": "^22.13.5",
74
73
  "@types/path-browserify": "^1.0.3",
74
+ "@types/react": "^19.0.10",
75
75
  "@web/dev-server-esbuild": "^1.0.4",
76
76
  "@web/dev-server-import-maps": "^0.2.1",
77
77
  "@web/dev-server-rollup": "^0.6.4",
78
78
  "@web/test-runner": "^0.20.0",
79
79
  "@web/test-runner-playwright": "^0.11.0",
80
80
  "autoprefixer": "^10.4.20",
81
- "esbuild": "^0.24.2",
82
- "eslint": "^9.20.1",
81
+ "esbuild": "^0.25.0",
82
+ "eslint": "^9.21.0",
83
83
  "eslint-config-prettier": "^10.0.1",
84
84
  "eslint-import-resolver-typescript": "^3.8.3",
85
85
  "eslint-plugin-import": "^2.31.0",
@@ -90,7 +90,8 @@
90
90
  "npm-package-json-lint": "^8.0.0",
91
91
  "npm-package-json-lint-config-default": "^7.0.1",
92
92
  "postcss-flexbugs-fixes": "^5.0.2",
93
- "prettier": "^3.5.1",
93
+ "prettier": "^3.5.2",
94
+ "react": "^19.0.0",
94
95
  "rimraf": "^6.0.1",
95
96
  "rollup": "^4.34.8",
96
97
  "rollup-plugin-dts": "^6.1.1",
@@ -106,7 +107,7 @@
106
107
  "tsc-alias": "^1.8.10",
107
108
  "tslib": "^2.8.1",
108
109
  "typescript": "^5.7.3",
109
- "typescript-eslint": "^8.24.1"
110
+ "typescript-eslint": "^8.25.0"
110
111
  },
111
112
  "pnpm": {
112
113
  "onlyBuiltDependencies": [
@@ -147,7 +148,7 @@
147
148
  "access": "public"
148
149
  },
149
150
  "engines": {
150
- "node": ">= 8.17.0"
151
+ "node": ">= 12.17.0"
151
152
  },
152
153
  "funding": {
153
154
  "type": "paypal",