diff --git a/.changeset/serious-tables-glow.md b/.changeset/serious-tables-glow.md new file mode 100644 index 00000000..0d18eb26 --- /dev/null +++ b/.changeset/serious-tables-glow.md @@ -0,0 +1,5 @@ +--- +'@dotlottie/react-player': patch +--- + +fix: 🐛 react-player couldn't find package "@dotlottie/common" diff --git a/packages/react-player/package.json b/packages/react-player/package.json index 107c33f3..8e7c8cdc 100644 --- a/packages/react-player/package.json +++ b/packages/react-player/package.json @@ -31,10 +31,9 @@ "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, - "dependencies": { - "@dotlottie/common": "workspace:^" - }, + "dependencies": {}, "devDependencies": { + "@dotlottie/common": "workspace:^", "@lottiefiles/lottie-types": "^1.2.0", "@types/react": "^16.8.0", "@types/react-dom": "^16.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1744e4ba..60cf7fc6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,7 +134,7 @@ importers: dependencies: '@dotlottie/player-component': link:../../packages/player-component devDependencies: - '@nuxt/devtools': 1.0.0-beta.2_nuxt@3.7.0 + '@nuxt/devtools': 1.0.0-beta.3_nuxt@3.7.0 '@types/node': 18.17.11 nuxt: 3.7.0_@types+node@18.17.11 @@ -322,9 +322,8 @@ importers: tsup: ^6.1.3 typescript: ^4.7.4 vite: ^4.2.1 - dependencies: - '@dotlottie/common': link:../common devDependencies: + '@dotlottie/common': link:../common '@lottiefiles/lottie-types': 1.2.1 '@types/react': 16.14.49 '@types/react-dom': 16.9.20 @@ -477,14 +476,14 @@ packages: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-builder-binary-assignment-operator-visitor/7.22.10: resolution: {integrity: sha512-Av0qubwDQxC56DoUReVDeLfMEjYYSN1nZrTUrWkXd7hpU73ymRANkbuDm3yni9npkn+RXy9nNbEJZEzXr7xrfQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-compilation-targets/7.22.10: @@ -587,7 +586,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.22.5 - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-function-name/7.23.0: @@ -602,14 +601,14 @@ packages: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-member-expression-to-functions/7.22.5: resolution: {integrity: sha512-aBiH1NKMG0H2cGZqspNvsaBe6wNGjbJjuLy29aU+eDZjSbbN53BaxlpB02xm9v34pLTZ1nIQPFYn2qMZoa5BQQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-member-expression-to-functions/7.23.0: @@ -630,7 +629,7 @@ packages: resolution: {integrity: sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 /@babel/helper-module-transforms/7.22.9_@babel+core@7.22.10: resolution: {integrity: sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ==} @@ -664,7 +663,7 @@ packages: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-plugin-utils/7.22.5: @@ -712,21 +711,21 @@ packages: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-skip-transparent-expression-wrappers/7.22.5: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-split-export-declaration/7.22.6: resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helper-string-parser/7.22.5: @@ -736,7 +735,6 @@ packages: /@babel/helper-validator-identifier/7.22.20: resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} - dev: true /@babel/helper-validator-identifier/7.22.5: resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} @@ -758,7 +756,7 @@ packages: dependencies: '@babel/helper-function-name': 7.22.5 '@babel/template': 7.22.5 - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 dev: true /@babel/helpers/7.22.10: @@ -1774,7 +1772,7 @@ packages: dependencies: '@babel/core': 7.22.10 '@babel/helper-plugin-utils': 7.22.5 - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 esutils: 2.0.3 dev: true @@ -1870,7 +1868,6 @@ packages: '@babel/helper-string-parser': 7.22.5 '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 - dev: true /@braintree/sanitize-url/3.1.0: resolution: {integrity: sha512-GcIY79elgB+azP74j8vqkiXz8xLFfIzbQJdlwOPisgbKT00tviJQuEghOXSMVxJ00HoYJbGswr4kcllUc4xCcg==} @@ -3327,10 +3324,10 @@ packages: '@graphql-tools/wrap': 9.4.2 '@types/ws': 8.5.5 '@whatwg-node/fetch': 0.8.8 - isomorphic-ws: 5.0.0_ws@8.13.0 + isomorphic-ws: 5.0.0_ws@8.14.2 tslib: 2.6.1 value-or-promise: 1.0.12 - ws: 8.13.0 + ws: 8.14.2 transitivePeerDependencies: - '@types/node' - bufferutil @@ -4162,8 +4159,8 @@ packages: resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==} dev: true - /@nuxt/devtools-kit/1.0.0-beta.2_nuxt@3.7.0: - resolution: {integrity: sha512-CLOrUAlerqS2jZw8zFbWM+R5PIfwzFKbmAJDQklqvGcCfi4MtSbOoO7f5O6F6jKzTFkOi1/pW/FSpvpsyMV/gw==} + /@nuxt/devtools-kit/1.0.0-beta.3_nuxt@3.7.0: + resolution: {integrity: sha512-jRIlOZ1mGED6S0knH2mjRPeFr3WA/LHJvAhLHLBhE943e5JTmurR9stin86DRZKjLwn5d1AtUHyM9rxaCO0qLw==} peerDependencies: nuxt: ^3.7.4 vite: '*' @@ -4177,8 +4174,8 @@ packages: - supports-color dev: true - /@nuxt/devtools-wizard/1.0.0-beta.2: - resolution: {integrity: sha512-kHiLfHuRla+kAQO7xHL+jmPk0OINis3ilakbBm6DtTdqg4citHfP5Qm0IyvOXW9PfI0Gr7mOh50ZtvzA3dMNkw==} + /@nuxt/devtools-wizard/1.0.0-beta.3: + resolution: {integrity: sha512-PBcTqzy0Go4sZvSLsbj/LyK+BMmmGyhswI0Wq5hM3Ydy0rJC6MdfOt/1FIG6S/rQIOcYH0Y9k7miRQ77wh5KaQ==} hasBin: true dependencies: consola: 3.2.3 @@ -4193,16 +4190,16 @@ packages: semver: 7.5.4 dev: true - /@nuxt/devtools/1.0.0-beta.2_nuxt@3.7.0: - resolution: {integrity: sha512-GEPnPEsTCFDA+r7IAnUKnVJtk6tJLo0pK2DXBEaCXhnFcrneXLzyNFEtKffTzISGTgVISMAo5ps0Twtq0vNspQ==} + /@nuxt/devtools/1.0.0-beta.3_nuxt@3.7.0: + resolution: {integrity: sha512-Ah/ho+Y5uv3ky+qDUX+lZMbLSaKt+rmCPuPmRlVWbmQtjlhzCyGAiqJSHhojerG9mp4uu5if99ejxKOj2w4rYQ==} hasBin: true peerDependencies: nuxt: ^3.7.4 vite: '*' dependencies: '@antfu/utils': 0.7.6 - '@nuxt/devtools-kit': 1.0.0-beta.2_nuxt@3.7.0 - '@nuxt/devtools-wizard': 1.0.0-beta.2 + '@nuxt/devtools-kit': 1.0.0-beta.3_nuxt@3.7.0 + '@nuxt/devtools-wizard': 1.0.0-beta.3 '@nuxt/kit': 3.7.4 birpc: 0.2.14 consola: 3.2.3 @@ -4280,34 +4277,7 @@ packages: semver: 7.5.4 ufo: 1.3.0 unctx: 2.3.1 - unimport: 3.3.0 - untyped: 1.4.0 - transitivePeerDependencies: - - rollup - - supports-color - dev: true - - /@nuxt/kit/3.7.1: - resolution: {integrity: sha512-8k4q+92qLz5z7RdSOKrEJIjM63xXBg0z/WhTtZgXv1R5ULZ77usdTMjQYhQ+Kgd1NMkpIXeKaAO6903xrSt53Q==} - engines: {node: ^14.18.0 || >=16.10.0} - dependencies: - '@nuxt/schema': 3.7.1 - c12: 1.4.2 - consola: 3.2.3 - defu: 6.1.2 - globby: 13.2.2 - hash-sum: 2.0.0 - ignore: 5.2.4 - jiti: 1.19.3 - knitwork: 1.0.0 - mlly: 1.4.2 - pathe: 1.1.1 - pkg-types: 1.0.3 - scule: 1.0.0 - semver: 7.5.4 - ufo: 1.3.0 - unctx: 2.3.1 - unimport: 3.3.0 + unimport: 3.4.0 untyped: 1.4.0 transitivePeerDependencies: - rollup @@ -4353,26 +4323,7 @@ packages: postcss-import-resolver: 2.0.0 std-env: 3.4.3 ufo: 1.3.0 - unimport: 3.3.0 - untyped: 1.4.0 - transitivePeerDependencies: - - rollup - - supports-color - dev: true - - /@nuxt/schema/3.7.1: - resolution: {integrity: sha512-+0W/oos7Ktm3eTwQ/78PrcAObR0+yQzHIUzbQ7HgUnEEntRGVxp4hnfng5dmhvVjJqQvpuGZHa3yIS/g41vE6A==} - engines: {node: ^14.18.0 || >=16.10.0} - dependencies: - '@nuxt/ui-templates': 1.3.1 - defu: 6.1.2 - hookable: 5.5.3 - pathe: 1.1.1 - pkg-types: 1.0.3 - postcss-import-resolver: 2.0.0 - std-env: 3.4.3 - ufo: 1.3.0 - unimport: 3.3.0 + unimport: 3.4.0 untyped: 1.4.0 transitivePeerDependencies: - rollup @@ -4403,7 +4354,7 @@ packages: resolution: {integrity: sha512-Cj+4sXjO5pZNW2sX7Y+djYpf4pZwgYF3rV/YHLWIOq9nAjo2UcDXjh1z7qnhkoUkvJN3lHnvhnCNhfAioe6k/A==} hasBin: true dependencies: - '@nuxt/kit': 3.7.1 + '@nuxt/kit': 3.7.4 chalk: 5.3.0 ci-info: 3.8.0 consola: 3.2.3 @@ -4453,7 +4404,7 @@ packages: externality: 1.0.2 fs-extra: 11.1.1 get-port-please: 3.1.1 - h3: 1.8.1 + h3: 1.8.2 knitwork: 1.0.0 magic-string: 0.30.3 mlly: 1.4.2 @@ -5993,7 +5944,7 @@ packages: vue: optional: true dependencies: - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 '@rollup/pluginutils': 5.0.4 '@vue/compiler-sfc': 3.3.4 ast-kit: 0.10.0 @@ -6018,7 +5969,7 @@ packages: '@babel/plugin-syntax-jsx': 7.22.5_@babel+core@7.22.10 '@babel/template': 7.22.5 '@babel/traverse': 7.22.10 - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -6037,7 +5988,7 @@ packages: '@babel/plugin-syntax-jsx': 7.22.5_@babel+core@7.23.2 '@babel/template': 7.22.5 '@babel/traverse': 7.22.10 - '@babel/types': 7.22.10 + '@babel/types': 7.23.0 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -6675,7 +6626,7 @@ packages: resolution: {integrity: sha512-8y01XClpURgvxTJmM4AY2oHa1B/6iysALB9yJM1j4ak3Z2ZsnU0ewjDZzqOHdbNdit6hC0DGZNrBqNuCrv51fQ==} engines: {node: '>=16.14.0'} dependencies: - '@babel/parser': 7.22.10 + '@babel/parser': 7.23.0 '@rollup/pluginutils': 5.0.4 pathe: 1.1.1 transitivePeerDependencies: @@ -6696,8 +6647,8 @@ packages: resolution: {integrity: sha512-vdCU9JvpsrxWxvJiRHAr8If8cu07LWJXDPhkqLiP4ErbN1fu/mK623QGmU4Qbn2Nq4Mx0vR/Q017B6+HcHg1aQ==} engines: {node: '>=16.14.0'} dependencies: - '@babel/parser': 7.22.10 - '@babel/types': 7.22.10 + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 dev: true /astral-regex/2.0.0: @@ -11679,6 +11630,14 @@ packages: ws: 8.13.0 dev: true + /isomorphic-ws/5.0.0_ws@8.14.2: + resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} + peerDependencies: + ws: '*' + dependencies: + ws: 8.14.2 + dev: true + /isstream/0.1.2: resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} dev: true @@ -12010,9 +11969,9 @@ packages: consola: 3.2.3 defu: 6.1.2 get-port-please: 3.1.1 - h3: 1.8.1 + h3: 1.8.2 http-shutdown: 1.2.2 - jiti: 1.19.3 + jiti: 1.20.0 mlly: 1.4.2 node-forge: 1.3.1 pathe: 1.1.1 @@ -12331,7 +12290,7 @@ packages: resolution: {integrity: sha512-0shqecEPgdFpnI3AP90epXyxZy9g6CRZ+SZ7BcqFwYmtFEnZ1jpevcV5HoyVnlDS9gCnc1UIg3Rsvp3Ci7r8OA==} engines: {node: '>=16.14.0'} dependencies: - magic-string: 0.30.3 + magic-string: 0.30.5 dev: true /magic-string/0.27.0: @@ -13586,7 +13545,7 @@ packages: fs-extra: 11.1.1 globby: 13.2.2 gzip-size: 7.0.0 - h3: 1.8.1 + h3: 1.8.2 hookable: 5.5.3 httpxy: 0.1.4 is-primitive: 3.0.1 @@ -13618,7 +13577,7 @@ packages: uncrypto: 0.1.3 unctx: 2.3.1 unenv: 1.7.4 - unimport: 3.3.0_rollup@3.28.1 + unimport: 3.4.0_rollup@3.28.1 unstorage: 1.9.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -18563,46 +18522,28 @@ packages: - rollup dev: true - /unimport/3.3.0: - resolution: {integrity: sha512-3jhq3ZG5hFZzrWGDCpx83kjPzefP/EeuKkIO1T0MA4Zwj+dO/Og1mFvZ4aZ5WSDm0FVbbdVIRH1zKBG7c4wOpg==} + /unimport/3.4.0: + resolution: {integrity: sha512-M/lfFEgufIT156QAr/jWHLUn55kEmxBBiQsMxvRSIbquwmeJEyQYgshHDEvQDWlSJrVOOTAgnJ3FvlsrpGkanA==} dependencies: '@rollup/pluginutils': 5.0.4 escape-string-regexp: 5.0.0 fast-glob: 3.3.1 local-pkg: 0.4.3 - magic-string: 0.30.3 - mlly: 1.4.2 - pathe: 1.1.1 - pkg-types: 1.0.3 - scule: 1.0.0 - strip-literal: 1.3.0 - unplugin: 1.4.0 - transitivePeerDependencies: - - rollup - dev: true - - /unimport/3.3.0_rollup@3.28.1: - resolution: {integrity: sha512-3jhq3ZG5hFZzrWGDCpx83kjPzefP/EeuKkIO1T0MA4Zwj+dO/Og1mFvZ4aZ5WSDm0FVbbdVIRH1zKBG7c4wOpg==} - dependencies: - '@rollup/pluginutils': 5.0.4_rollup@3.28.1 - escape-string-regexp: 5.0.0 - fast-glob: 3.3.1 - local-pkg: 0.4.3 - magic-string: 0.30.3 + magic-string: 0.30.5 mlly: 1.4.2 pathe: 1.1.1 pkg-types: 1.0.3 scule: 1.0.0 strip-literal: 1.3.0 - unplugin: 1.4.0 + unplugin: 1.5.0 transitivePeerDependencies: - rollup dev: true - /unimport/3.4.0: + /unimport/3.4.0_rollup@3.28.1: resolution: {integrity: sha512-M/lfFEgufIT156QAr/jWHLUn55kEmxBBiQsMxvRSIbquwmeJEyQYgshHDEvQDWlSJrVOOTAgnJ3FvlsrpGkanA==} dependencies: - '@rollup/pluginutils': 5.0.4 + '@rollup/pluginutils': 5.0.4_rollup@3.28.1 escape-string-regexp: 5.0.0 fast-glob: 3.3.1 local-pkg: 0.4.3 @@ -18884,7 +18825,7 @@ packages: anymatch: 3.1.3 chokidar: 3.5.3 destr: 2.0.1 - h3: 1.8.1 + h3: 1.8.2 ioredis: 5.3.2 listhen: 1.4.1 lru-cache: 10.0.1