From 591f4e577fa2e1741a3ba6e1eb3e2f4ed598ae89 Mon Sep 17 00:00:00 2001
From: Michael Prentice
Date: Tue, 8 Mar 2022 14:37:10 -0500
Subject: [PATCH] docs(eol): update docs website for End-of-Life
- fix alignment of text in banner
- update home page for EOL
- update banner messaging for EOL
- update `SECURITY.md` for EOL
- update `package-lock.json` to v2
- add `path-type` devDependency required by cssnano
- fix resolutions for npm-force-resolutions to remove ^ and ~ that can break w/ npm v8
- update karma to fix log4js vulnerability
- add `cliui` devDependency required by karma
---
SECURITY.md | 25 +-
docs/app/css/style.css | 5 +-
docs/app/partials/getting-started.tmpl.html | 5 +-
docs/app/partials/home.tmpl.html | 41 +-
docs/config/template/index.template.html | 7 +-
package-lock.json | 18089 ++++++++++++++++--
package.json | 10 +-
7 files changed, 16628 insertions(+), 1554 deletions(-)
diff --git a/SECURITY.md b/SECURITY.md
index eadffeb34f4..9f81ca287ed 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -1,22 +1,21 @@
# Security Policy
-## Supported Versions
-
-| Version | Supported | Status | Comments |
-| ----------- | ------------------ | --------------------- | ------------------------------------ |
-| 1.2.x | :white_check_mark: | Long Term Support | See [Long Term Support policy][lts] |
-| 1.1.x | :warning: | Security patches only | |
-| <1.1.x | :x: | | |
-
-## Reporting a Vulnerability
-
-Email us at [security@angularjs.org](mailto:security@angularjs.org) to report any potential security
-issues in AngularJS Material.
+**AngularJS Material support has officially ended as of January 2022.**
+[See what ending support means](https://docs.angularjs.org/misc/version-support-status)
+and [read the end of life announcement](https://goo.gle/angularjs-end-of-life). Visit
+[material.angular.io](https://material.angular.io) for the actively supported Angular Material.
Please [use the latest AngularJS][latest-ng] and [AngularJS Material][releases] possible and keep in
mind the guidance around AngularJS' [expression language][ng-expressions].
+## Supported Versions
+
+| Version | Supported | Status | Comments |
+|---------|-----------|-------------------|----------|
+| 1.2.x | :x: | All support ended | |
+| 1.1.x | :x: | All support ended | |
+| <1.1.x | :x: | All support ended | |
+
[latest-ng]: https://docs.angularjs.org/guide/security#use-the-latest-angularjs-possible
[releases]: https://github.com/angular/material/releases
[ng-expressions]: https://docs.angularjs.org/guide/security#angularjs-templates-and-expressions
-[lts]: https://material.angularjs.org/#long-term-support
diff --git a/docs/app/css/style.css b/docs/app/css/style.css
index 29a8bdfae32..4e1615575db 100644
--- a/docs/app/css/style.css
+++ b/docs/app/css/style.css
@@ -603,10 +603,13 @@ md-toolbar.demo-toolbar .md-button {
.eol-notice {
background: #ECEFF1;
padding: 4px 16px;
- text-align: center;
font-size: 13px;
margin: 0;
}
+.eol-notice div {
+ max-width: 864px;
+ text-align: center;
+}
/***************
* Landing Page
diff --git a/docs/app/partials/getting-started.tmpl.html b/docs/app/partials/getting-started.tmpl.html
index 624309956e0..99dc66c453e 100644
--- a/docs/app/partials/getting-started.tmpl.html
+++ b/docs/app/partials/getting-started.tmpl.html
@@ -21,7 +21,7 @@ New to AngularJS? Before getting into AngularJS Material, it might
How do I start with AngularJS Material?
-
- Get jump started with a free 30 minute video course: Introduction to AngularJS Material
@@ -82,7 +82,8 @@ Installing the AngularJS Material Libraries
-
ngMessages
- Provides a consistent mechanism for displaying form errors and other messages.
- Required for some AngularJS Material components like
md-input
.
+ Required for some AngularJS Material components like
+ md-input
.
-
ngSanitize
diff --git a/docs/app/partials/home.tmpl.html b/docs/app/partials/home.tmpl.html
index 6d34078fa3a..d79492ee48c 100644
--- a/docs/app/partials/home.tmpl.html
+++ b/docs/app/partials/home.tmpl.html
@@ -9,7 +9,7 @@
What is AngularJS Material?
AngularJS developers.
- AngularJS Material has entered the Long Term Support (LTS) period.
+ AngularJS Material Long Term Support (LTS) has officially ended as of January 2022.
Find out more.
@@ -35,9 +35,9 @@ AngularJS versus Angular?
The AngularJS Material library is a mature and stable product that is ready for production
use. Developers should note that AngularJS Material works only with
AngularJS 1.x.
- AngularJS 1.x is now in
+ AngularJS 1.x
- Long Term Support (LTS) mode.
+ Long Term Support (LTS) has ended as of January 2022.
The Angular Material and Component Dev Kit (CDK) libraries (for Angular v2+) can be found in the
@@ -50,7 +50,7 @@ The Latest Material Design
The latest update to Material Design
(video playlist)
- was announced at Google I/O in May, 2018
+ was announced at Google I/O in May 2018
(recap blog post).
For an implementation of this new
Material Design Specification,
@@ -58,35 +58,16 @@
The Latest Material Design
project which is built for Angular
developers.
- Long Term Support
+ End-Of-Life
- AngularJS Material has entered a Long Term Support (LTS) period which ends on December 31st,
- 2021. This date aligns with the
-
- AngularJS LTS period. Explore End Of Life (EOL) options
- here.
-
-
- We now focus exclusively on providing fixes to bugs, in the 1.2.x branch of the library, that
- satisfy at least one of the following criteria:
-
-
- - We receive a report of, or detect, a security weakness which is then verified
- -
- A major browser releases a version that will cause current production applications
- to stop working
-
- -
- The jQuery library releases a version that will cause
- current production applications to stop working
-
-
-
- AngularJS Material 1.1.x will get a new version, if and only if, we verify a new severe
- security weakness.
+ AngularJS Material support has officially ended as of January 2022. This date aligns with the end of
+ the
+ AngularJS LTS period. Read the
+
+ end-of-life announcement for more details.
- Learn how to report security issues
+ Find details on reporting security issues
here.
Change Log
diff --git a/docs/config/template/index.template.html b/docs/config/template/index.template.html
index c6c4fdb5984..81174b9d86e 100644
--- a/docs/config/template/index.template.html
+++ b/docs/config/template/index.template.html
@@ -150,8 +150,11 @@