rsnext/packages/next/next-server/lib
Steven b2a8a2f99e
Fix html validation for Image component (#18903)
This PR fixes two bugs causing HTML validators to complain.

- Error: Bad value data:image/svg+xml;charset=utf-8, for attribute src on element img: Illegal character in scheme data: < is not allowed.
  - Fixed by using base64 for svg during `layout=intrinsic` to avoid angle brackets
- Error: Element img is missing required attribute src.
  - Fixed by using base64 transparent gif for `loading=lazy` placeholder

Fixes #18850
2020-11-07 17:39:14 +00:00
..
i18n Re-add domain locale redirect handling (#18274) 2020-10-27 04:45:39 -04:00
router Fix redirect query handling for param like values (#17448) 2020-11-07 04:30:14 +00:00
amp-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
amp.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
constants.ts Add support for Image Optimizer (#17749) 2020-10-16 13:10:01 +02:00
document-context.ts Support persisting the dev cache buster (#15827) 2020-08-03 14:22:55 +00:00
dynamic.tsx [Fix] common misspelling errors (#15288) 2020-07-19 04:38:20 +00:00
head-manager-context.ts Remove Head.rewind as it's no longer needed (#14091) 2020-06-11 22:09:06 +00:00
head.tsx AMP compatibility for Font optimization (#16208) 2020-08-20 15:10:59 -04:00
loadable-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
loadable.d.ts Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
loadable.js Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
mitt.ts Remove tslint disables (#16116) 2020-08-12 14:39:07 +00:00
post-process.ts Make the image post-processor ignore SVG images (#16732) 2020-09-02 02:42:20 +00:00
router-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
runtime-config.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
side-effect.tsx Handle rendering next/head outside of Next.js (#14511) 2020-06-23 20:46:40 +00:00
to-base-64.ts Fix html validation for Image component (#18903) 2020-11-07 17:39:14 +00:00
utils.ts Update to have default locale matched on root (#17669) 2020-10-08 11:12:17 +00:00