Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(file-preview): safeSubresourceGwUrl #2253

Merged
merged 1 commit into from
Aug 30, 2024

fix(file-preview): safeSubresourceGwUrl

1a56429
Select commit
Loading
Failed to load commit list.
Merged

fix(file-preview): safeSubresourceGwUrl #2253

fix(file-preview): safeSubresourceGwUrl
1a56429
Select commit
Loading
Failed to load commit list.
Fleek.co / ipfs-webui succeeded Aug 30, 2024 in 5m 38s

Build succeed

You can preview build output on the link below.

Details

Deploy started at 2024-08-30T21:33:03.730Z

2024-08-30T21:33:04.753Z: Deploy started
2024-08-30T21:33:06.690Z: Docker image: 'node:lts'
2024-08-30T21:33:06.690Z: Build command: 'npm install && npm run build'
2024-08-30T21:33:06.690Z: Triggering build execution...
2024-08-30T21:34:16.492Z: npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
2024-08-30T21:34:16.602Z: npm warn deprecated uuid-browser@3.1.0: Package no longer supported and required. Use the uuid package or crypto.randomUUID instead
2024-08-30T21:34:16.638Z: npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2024-08-30T21:34:16.757Z: npm warn deprecated uri-to-multiaddr@6.0.0: This module is deprecated, please upgrade to @multiformats/uri-to-multiaddr
2024-08-30T21:34:16.780Z: npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
2024-08-30T21:34:16.996Z: npm warn deprecated trim@0.0.1: Use String.prototype.trim() instead
2024-08-30T21:34:17.731Z: npm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
2024-08-30T21:34:17.732Z: npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
2024-08-30T21:34:17.807Z: npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
2024-08-30T21:34:17.831Z: npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2024-08-30T21:34:18.100Z: npm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
2024-08-30T21:34:18.148Z: npm warn deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
2024-08-30T21:34:18.151Z: npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2024-08-30T21:34:18.861Z: npm warn deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
2024-08-30T21:34:20.037Z: npm warn deprecated noble-secp256k1@1.2.14: Switch to namespaced @noble/secp256k1 for security and feature updates
2024-08-30T21:34:20.051Z: npm warn deprecated noble-ed25519@1.2.6: Switch to namespaced @noble/ed25519 for security and feature updates
2024-08-30T21:34:20.101Z: npm warn deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
2024-08-30T21:34:20.467Z: npm warn deprecated multibase@4.0.6: This module has been superseded by the multiformats module
2024-08-30T21:34:22.275Z: npm warn deprecated ipfs-grpc-protocol@0.4.1: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:22.294Z: npm warn deprecated ipfs-daemon@0.9.8: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:23.448Z: npm warn deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
2024-08-30T21:34:23.492Z: npm warn deprecated ipfs-http-gateway@0.6.5: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:23.845Z: npm warn deprecated ipfs-grpc-server@0.6.6: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:24.598Z: npm warn deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
2024-08-30T21:34:24.895Z: npm warn deprecated ipfs-core-utils@0.18.1: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:25.025Z: npm warn deprecated ipfs-http-response@1.0.6: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:25.678Z: npm warn deprecated ipfs@0.58.3: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:26.840Z: npm warn deprecated read-pkg-up@11.0.0: Renamed to read-package-up
2024-08-30T21:34:27.727Z: npm warn deprecated ipfs-core-types@0.7.3: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:29.562Z: npm warn deprecated iltorb@2.4.5: The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb
2024-08-30T21:34:29.692Z: npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
2024-08-30T21:34:29.725Z: npm warn deprecated ipfs-http-server@0.7.6: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:31.463Z: npm warn deprecated @storybook/addon-knobs@5.3.21: deprecating @storybook/addon-knobs in favor of @storybook/addon-controls
2024-08-30T21:34:32.045Z: npm warn deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
2024-08-30T21:34:32.088Z: npm warn deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
2024-08-30T21:34:32.685Z: npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
2024-08-30T21:34:32.724Z: npm warn deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
2024-08-30T21:34:33.057Z: npm warn deprecated ipfs-cli@0.8.8: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:33.378Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:33.521Z: npm warn deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
2024-08-30T21:34:33.756Z: npm warn deprecated ipfs-http-client@52.0.5: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:34.212Z: npm warn deprecated domexception@2.0.1: Use your platform's native DOMException instead
2024-08-30T21:34:36.658Z: npm warn deprecated multiaddr-to-uri@8.0.0: This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri
2024-08-30T21:34:37.267Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:37.376Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:37.492Z: npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead
2024-08-30T21:34:37.516Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:37.720Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:37.786Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:37.894Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:37.991Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:38.048Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:38.132Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:38.261Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:38.261Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:40.165Z: npm warn deprecated multiaddr-to-uri@8.0.0: This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri
2024-08-30T21:34:40.237Z: npm warn deprecated multiaddr-to-uri@8.0.0: This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri
2024-08-30T21:34:40.959Z: npm warn deprecated multiaddr-to-uri@8.0.0: This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri
2024-08-30T21:34:41.039Z: npm warn deprecated multiaddr-to-uri@8.0.0: This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri
2024-08-30T21:34:41.128Z: npm warn deprecated ipfs-core@0.10.8: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:41.302Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:41.330Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:41.437Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:41.487Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:41.672Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:41.973Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:42.153Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:42.185Z: npm warn deprecated multiaddr@10.0.1: This module is deprecated, please upgrade to @multiformats/multiaddr
2024-08-30T21:34:42.431Z: npm warn deprecated ipfs-core-utils@0.10.5: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:42.480Z: npm warn deprecated ipfs-core-utils@0.10.5: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:42.899Z: npm warn deprecated ipfs-core-utils@0.10.5: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:42.999Z: npm warn deprecated ipfs-core-utils@0.10.5: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:34:49.150Z: npm warn deprecated highlight.js@9.13.1: Version no longer supported. Upgrade to @latest
2024-08-30T21:34:50.035Z: npm warn deprecated ipfs-core-types@0.14.1: js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
2024-08-30T21:36:26.546Z: > ipfs-webui@4.3.0 postinstall
2024-08-30T21:36:26.546Z: > patch-package
2024-08-30T21:36:26.659Z: patch-package 6.5.1
2024-08-30T21:36:26.660Z: Applying patches...
2024-08-30T21:36:26.664Z: datatransfer-files-promise@1.3.1 ✔
2024-08-30T21:36:26.664Z: http-proxy@1.18.1 ✔
2024-08-30T21:36:26.725Z: added 5854 packages, and audited 6348 packages in 2m
2024-08-30T21:36:26.725Z: 669 packages are looking for funding
2024-08-30T21:36:26.725Z: run `npm fund` for details
2024-08-30T21:36:27.040Z: 125 vulnerabilities (15 low, 43 moderate, 63 high, 4 critical)
2024-08-30T21:36:27.040Z: To address issues that do not require attention, run:
2024-08-30T21:36:27.040Z: npm audit fix
2024-08-30T21:36:27.040Z: To address all issues possible (including breaking changes), run:
2024-08-30T21:36:27.040Z: npm audit fix --force
2024-08-30T21:36:27.040Z: Some issues need review, and may require choosing
2024-08-30T21:36:27.040Z: a different dependency.
2024-08-30T21:36:27.040Z: Run `npm audit` for details.
2024-08-30T21:36:27.041Z: npm notice
2024-08-30T21:36:27.041Z: npm notice New patch version of npm available! 10.8.2 -> 10.8.3
2024-08-30T21:36:27.041Z: npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.3
2024-08-30T21:36:27.041Z: npm notice To update run: npm install -g npm@10.8.3
2024-08-30T21:36:27.041Z: npm notice
2024-08-30T21:36:27.195Z: > ipfs-webui@4.3.0 prebuild
2024-08-30T21:36:27.195Z: > lol public/locales > src/lib/languages.json
2024-08-30T21:36:27.232Z: > ipfs-webui@4.3.0 build
2024-08-30T21:36:27.232Z: > run-script-os
2024-08-30T21:36:27.507Z: > ipfs-webui@4.3.0 build:darwin:linux
2024-08-30T21:36:27.507Z: > cross-env REACT_APP_GIT_REV=`git rev-parse --short HEAD` react-app-rewired-esm build
2024-08-30T21:36:28.954Z: Creating an optimized production build...
2024-08-30T21:38:38.716Z: Deployed to IPFS and got the hash:
2024-08-30T21:38:38.716Z: QmYS15D6jEsXWaS8mJGrEevGQrq3bUVL7EDg5RiryFbxF9
2024-08-30T21:38:38.716Z: Checking content availability on IPFS...
2024-08-30T21:38:36.906Z: Compiled with warnings.
2024-08-30T21:38:36.906Z: Failed to parse source map from '/workspace/node_modules/@chainsafe/is-ip/src/is-ip.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@chainsafe/is-ip/src/is-ip.ts'
2024-08-30T21:38:36.906Z: Failed to parse source map from '/workspace/node_modules/@chainsafe/is-ip/src/parse.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@chainsafe/is-ip/src/parse.ts'
2024-08-30T21:38:36.906Z: Failed to parse source map from '/workspace/node_modules/@chainsafe/is-ip/src/parser.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@chainsafe/is-ip/src/parser.ts'
2024-08-30T21:38:36.906Z: Failed to parse source map from '/workspace/node_modules/dag-jose/src/encryption.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/dag-jose/src/encryption.ts'
2024-08-30T21:38:36.906Z: Failed to parse source map from '/workspace/node_modules/dag-jose/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/dag-jose/src/index.ts'
2024-08-30T21:38:36.906Z: Failed to parse source map from '/workspace/node_modules/dag-jose/src/signing.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/dag-jose/src/signing.ts'
2024-08-30T21:38:36.906Z: Failed to parse source map from '/workspace/node_modules/dag-jose/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/dag-jose/src/utils.ts'
2024-08-30T21:38:36.906Z: Search for the keywords to learn more about each warning.
2024-08-30T21:38:36.906Z: To ignore, add // eslint-disable-next-line to the line before.
2024-08-30T21:38:36.906Z: File sizes after gzip:
2024-08-30T21:38:37.105Z: 834.78 kB  build/static/js/main.09b74ec7.js
2024-08-30T21:38:37.105Z: 151.64 kB  build/static/js/654.3511f556.chunk.js
2024-08-30T21:38:37.105Z: 132.8 kB   build/static/js/433.cb128a66.chunk.js
2024-08-30T21:38:37.105Z: 132.27 kB  build/static/js/529.dd6ccd50.chunk.js
2024-08-30T21:38:37.105Z: 75.17 kB   build/static/js/353.7e0e5dab.chunk.js
2024-08-30T21:38:37.105Z: 40.59 kB   build/static/js/37.02d00593.chunk.js
2024-08-30T21:38:37.105Z: 33.16 kB   build/static/js/933.aef7af5b.chunk.js
2024-08-30T21:38:37.105Z: 29.98 kB   build/static/js/588.80457a32.chunk.js
2024-08-30T21:38:37.105Z: 18.1 kB    build/static/css/main.b8d01442.css
2024-08-30T21:38:37.106Z: 15.84 kB   build/static/js/835.13f94d48.chunk.js
2024-08-30T21:38:37.106Z: 11.12 kB   build/static/js/739.23505ca5.chunk.js
2024-08-30T21:38:37.106Z: 8.95 kB    build/static/js/301.7ffa35f6.chunk.js
2024-08-30T21:38:37.106Z: 7.54 kB    build/static/js/424.f9280258.chunk.js
2024-08-30T21:38:37.106Z: 7.5 kB     build/static/js/539.27ce2161.chunk.js
2024-08-30T21:38:37.106Z: 6.89 kB    build/static/js/960.29165f44.chunk.js
2024-08-30T21:38:37.106Z: 6.33 kB    build/static/js/174.dbd298a0.chunk.js
2024-08-30T21:38:37.106Z: 4.69 kB    build/static/js/259.568c4dcd.chunk.js
2024-08-30T21:38:37.106Z: 4.16 kB    build/static/js/706.554546ea.chunk.js
2024-08-30T21:38:37.106Z: 2.9 kB     build/static/js/965.35340751.chunk.js
2024-08-30T21:38:37.106Z: 1.92 kB    build/static/js/480.2195cdfd.chunk.js
2024-08-30T21:38:37.106Z: 1.1 kB     build/static/css/588.34e9d0f2.chunk.css
2024-08-30T21:38:37.106Z: 666 B      build/static/js/178.ac8bb374.chunk.js
2024-08-30T21:38:37.106Z: 597 B      build/static/js/942.2046d79c.chunk.js
2024-08-30T21:38:37.106Z: 536 B      build/static/css/301.e555fe27.chunk.css
2024-08-30T21:38:37.106Z: 346 B      build/static/css/835.6caf85c6.chunk.css
2024-08-30T21:38:37.106Z: 156 B      build/static/css/965.2d0ccef5.chunk.css
2024-08-30T21:38:37.106Z: 139 B      build/static/js/3.37f65297.chunk.js
2024-08-30T21:38:37.106Z: 86 B       build/static/js/104.d628318d.chunk.js
2024-08-30T21:38:37.106Z: The bundle size is significantly larger than recommended.
2024-08-30T21:38:37.106Z: Consider reducing it with code splitting: https://goo.gl/9VhYWB
2024-08-30T21:38:37.106Z: You can also analyze the project dependencies: https://goo.gl/LeUzfb
2024-08-30T21:38:37.106Z: The project was built assuming it is hosted at ./.
2024-08-30T21:38:37.107Z: You can control this with the homepage field in your package.json.
2024-08-30T21:38:37.107Z: The build folder is ready to be deployed.
2024-08-30T21:38:37.107Z: Find out more about deployment here:
2024-08-30T21:38:37.107Z: https://cra.link/deployment
2024-08-30T21:38:40.167Z: You can preview this build on :
2024-08-30T21:38:40.167Z: https://bafybeiev6pghzkw7bnyt73sompnrszdwjfuvyzl5tg43v5bfwewqn7an4a.on.fleek.co