rsnext/packages/next
Steven 80fd3d5d17
Print error when Image src is protocol-relative (#18809)
This PR prints a pretty error when the Image `src` property is a [protocol-relative URL](https://www.paulirish.com/2010/the-protocol-relative-url/).

> Update 2014.12.17:
> Now that SSL is encouraged for everyone and doesn’t have performance concerns, this technique is now an anti-pattern. If the asset you need is available on SSL, then always use the https:// asset.

Fixes #18536
2020-11-04 20:47:49 +00:00
..
bin Correct comment on --help (#16391) 2020-08-20 13:32:55 +00:00
build Remove @babel/preset-modules (#18759) 2020-11-04 06:53:39 +00:00
cli Warn on duplicate Sass deps (#16398) 2020-08-20 16:05:29 +00:00
client Print error when Image src is protocol-relative (#18809) 2020-11-04 20:47:49 +00:00
compiled Fix router not working on some protocol (#16650) 2020-11-03 16:18:02 -05:00
export Enable i18n feature flag (#18303) 2020-10-27 10:30:34 -05:00
lib Allow passing statusCode for GS(S)P redirect (#18422) 2020-11-02 21:47:59 +00:00
next-server Fix router not working on some protocol (#16650) 2020-11-03 16:18:02 -05:00
pages Fix dynamic css unloading (#17173) 2020-11-03 05:23:31 +00:00
server Enable i18n feature flag (#18303) 2020-10-27 10:30:34 -05:00
telemetry Enable i18n feature flag (#18303) 2020-10-27 10:30:34 -05:00
types Expose configured default locale in GS(S)P methods (#18216) 2020-10-27 05:43:15 -04:00
amp.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
amp.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
app.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
app.js
babel.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
babel.js
client.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
client.js
config.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
config.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
constants.d.ts Remove default export from constants.d.ts (#8979) 2019-10-07 14:30:07 +02:00
constants.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
data.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
data.js amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
document.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
document.js
dynamic.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
dynamic.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
error.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
error.js
head.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
head.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
image.d.ts Image component foundation (#17343) 2020-10-14 11:57:10 +02:00
image.js Image component foundation (#17343) 2020-10-14 11:57:10 +02:00
license.md Update year on license files 2020-04-21 12:24:08 +02:00
link.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
link.js
package.json Remove @babel/preset-modules (#18759) 2020-11-04 06:53:39 +00:00
README.md Update README.md 2020-10-29 11:50:54 +01:00
router.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
router.js
taskfile-babel.js Prefer builtin optional chaining and nullish coalescing (#16780) 2020-09-11 15:20:10 +00:00
taskfile-ncc.js Fix some webpack 5 deprecation warnings (#15797) 2020-08-03 12:57:17 +00:00
taskfile.js Make sure animated assets aren't de-animated by optimizer (#17974) 2020-10-17 19:22:10 +00:00
tsconfig.json Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the full documentation.

Who is using Next.js?

Next.js is used by the world's leading companies. Check out the Next.js Showcase to learn more.

Community

The Next.js community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the Next.js Discord.

Our Code of Conduct applies to all Next.js community channels.

Contributing

Please see our contributing.md.

Authors