rsnext/test
Kevin Mårtensson d2ac9c6c77
fix: pass nonce to next/script properly (#56995)
### What?

This fixes an issue where the `nonce` attribute isn't set on
`next/script` elements that has the `afterInteractive` (the default)
strategy resulting in `<link rel="preload" as="script"/>` tags without a
nonce.

### Why?

For apps that uses 3rd party scripts (or any script) with a nonce loaded
via `next/script` this is necessary unless you want them all to use
`beforeInteractive` which isn't super nice for performance.

---------

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-04-01 23:27:38 +00:00
..
.stats-app chore: update pnpm version from 8.15.1 to 8.15.4 (#62979) 2024-03-07 09:22:45 +00:00
development fix: bundle fetching with asset prefix (#63627) 2024-03-29 16:38:24 -07:00
e2e fix: pass nonce to next/script properly (#56995) 2024-04-01 23:27:38 +00:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Skip failing Turbopack build test (#63814) 2024-04-01 15:54:37 +02:00
lib Use local AMP validator to reduce test flakiness (#63838) 2024-03-28 20:25:35 +00:00
production Use local AMP validator to reduce test flakiness (#63838) 2024-03-28 20:25:35 +00:00
unit feat(eslint): enhance no-unwanted-polyfill w/ new endpoints (#62719) 2024-03-06 16:42:53 +00:00
.gitignore ci(workflow): enable test trace upload (#51107) 2023-06-12 17:14:13 +00:00
build-turbopack-build-tests-manifest.js Ensure production integration test results are uploaded (#63706) 2024-03-26 10:41:16 +01:00
build-turbopack-dev-tests-manifest.js Rename turbopack-tests-manifest to turbopack-dev-tests-manifest (#63409) 2024-03-19 10:26:14 +01:00
build-turbopack-tests-manifest.d.ts Update Turbopack test manifest from GitHub Actions artifact (#58394) 2023-11-24 16:48:12 +01:00
get-test-filter.js run tests from test suite that are not listed in the manifest (#58401) 2024-01-11 07:38:35 +00:00
jest-setup-after-env.ts Decrease default test timeouts (#56116) 2023-09-27 23:55:20 +00:00
ppr-tests-manifest.json Fix instant loading states after invalidating prefetch cache (#63256) 2024-03-19 12:02:12 -07:00
readme.md
test-file.txt
tsconfig.json chore: extends from shared base tsconfig (#59776) 2023-12-19 18:52:22 +01:00
turbopack-build-tests-manifest.json fix: pass nonce to next/script properly (#56995) 2024-04-01 23:27:38 +00:00
turbopack-dev-examples-manifest.json Add reporting of turbopack-dev-examples-manifest.json (#63521) 2024-03-20 14:58:01 +01:00
turbopack-dev-tests-manifest.json feat(next-core): set nextconfigoutput correctly (#63848) 2024-03-28 17:35:35 -07:00

See Testing for more information on how you can run/write/debug tests for Next.js.