Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit b33efae

Browse files
Splaktarpetebacondarwin
authored andcommitted
chore(*): support NodeJS v12. add license & security policy.
- update links - remove link to empty design docs folder - update copyright to 2021 - fix typos - fix warnings about missing package.json fields - add npm script for easily building the project w/o running e2e tests - `yarn build:dev` - update dependencies - from: 31 vulnerabilities found - Severity: 10 Low | 5 Moderate | 16 High - to: 21 vulnerabilities found - Severity: 7 Low | 4 Moderate | 10 High
1 parent eb69ab7 commit b33efae

File tree

8 files changed

+825
-746
lines changed

8 files changed

+825
-746
lines changed

Diff for: .nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.17.0
1+
12

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- '6'
4+
- '12'
55

66
cache:
77
yarn: true

Diff for: LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License
2+
3+
Copyright (c) 2021 Google LLC. http://angularjs.org
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
22+

Diff for: README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# AngularJS.org Home Page
2+
13
The angularjs.org site is not designed to be used by third parties.
24
It is only kept here as part of our own deployment processes.
35

@@ -7,13 +9,14 @@ If you want to have a go at hosting it yourself you can try running
79

810
This will build the website in the `build` folder, which you can then serve with something like:
911

10-
yarn run http-server build/
12+
yarn start
1113

1214
and browse to http://localhost:8080
1315

14-
**Note: we do not be provide support for doing this.**
16+
**Note: we do not provide support for doing this.**
1517

1618
The site relies upon accessing numerous additional resources from all over the web.
1719

1820
Hint: to access the AngularJS docs application rather than this site, which is only the homepage,
19-
clone the main project and build the docs yourself. See https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md
21+
clone the main project and build the docs yourself.
22+
See https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md

Diff for: SECURITY.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported | Status | Comments |
6+
| ----------- | ------------------ | --------------------- | ------------------------------------ |
7+
| 1.8.x | :white_check_mark: | Long Term Support | See [Long Term Support policy][0] |
8+
| 1.3.x-1.7.x | :x: | | |
9+
| 1.2.x | :warning: | Security patches only | Last version to provide IE 8 support |
10+
| <1.2.0 | :x: | | |
11+
12+
## Reporting a Vulnerability
13+
14+
Email us at [[email protected]](mailto:[email protected]) to report any potential security issues in AngularJS.
15+
16+
Please [use the latest AngularJS possible](https://docs.angularjs.org/guide/security#use-the-latest-angularjs-possible)
17+
and keep in mind the guidance around AngularJS'
18+
[expression language](https://docs.angularjs.org/guide/security#angularjs-templates-and-expressions).
19+
20+
[0]: https://docs.angularjs.org/misc/version-support-status#long-term-support

Diff for: package.json

+20-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
11
{
22
"name": "angularjs.org",
33
"version": "0.0.0",
4+
"private": true,
5+
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/angular/angularjs.org"
9+
},
410
"scripts": {
5-
"build": "yarn && gulp && node scripts/build"
11+
"build": "yarn && gulp && node scripts/build",
12+
"build:dev": "gulp && node scripts/build copy",
13+
"start": "http-server build/"
614
},
715
"devDependencies": {
8-
"eslint": "^4.18.2",
16+
"eslint": "^7.27.0",
917
"gulp": "^3.9.1",
10-
"gulp-sass": "^3.0.0",
11-
"http-server": "*",
12-
"protractor": "^5.4.2"
18+
"gulp-sass": "^4.1.0",
19+
"http-server": "^0.12.3",
20+
"protractor": "^7.0.0"
21+
},
22+
"resolutions": {
23+
"//1": "`[email protected]` does not work with Node.js 10.x on Windows 10",
24+
"//2": "(E.g. see https://github.com/gulpjs/gulp/issues/2162 and https://github.com/nodejs/node/issues/25132.)",
25+
"natives": "1.1.6",
26+
"//3": "`graceful-fs` needs to be pinned to support gulp 3, on Node v12+",
27+
"graceful-fs": "^4.2.6"
1328
}
1429
}

Diff for: src/index.html

+4-10
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1 class="brand"><a href="https://angularjs.org"><img width="117" height="30" s
5454
<li><a href="https://docs.angularjs.org/tutorial">Tutorial</a></li>
5555
<li><a href="https://docs.angularjs.org/misc/faq">FAQ</a></li>
5656
<li><a href="https://www.youtube.com/user/angularjs">Videos</a></li>
57-
<li><a href="https://www.madewithangular.com/">Case Studies</a></li>
57+
<li><a href="https://www.madewithangular.com/categories/angularjs/">Case Studies</a></li>
5858
</ul>
5959
</li>
6060
<li class="dropdown" uib-dropdown>
@@ -72,10 +72,10 @@ <h1 class="brand"><a href="https://angularjs.org"><img width="117" height="30" s
7272
<li class="dropdown" uib-dropdown>
7373
<a href="#" class="dropdown-toggle" uib-dropdown-toggle>Discuss</a>
7474
<ul class="dropdown-menu" uib-dropdown-menu>
75-
<li><a href="https://blog.angularjs.org">Blog</a></li>
75+
<li><a href="https://blog.angular.io">Blog</a></li>
7676
<li><a href="https://twitter.com/angular">Twitter</a></li>
7777
<li><a href="https://github.com/angular/angular.js/issues">Feature &amp; Bug Tracker</a></li>
78-
<li><a href="https://groups.google.com/group/angular">Mailing List</a></li>
78+
<li><a href="https://groups.google.com/g/angular">Mailing List</a></li>
7979
<li><a href="https://webchat.freenode.net/?channels=angularjs&uio=d4">IRC</a></li>
8080
<li><a href="https://gitter.im/angular/angular.js">Gitter</a></li>
8181
</ul>
@@ -139,12 +139,6 @@ <h2>AngularJS</h2>
139139
<li>
140140
<a href="https://twitter.com/angular" class="twitter-follow-button" data-show-count="true">Follow @angular</a>
141141
</li>
142-
143-
<li>
144-
<a class="button button-small button-plain" href="https://goo.gl/sj0Nk1" target="_blank">
145-
<i class="icon-folder-open icon-large"></i> Design Docs &amp; Notes
146-
</a>
147-
</li>
148142
</ul>
149143
</div>
150144

@@ -349,7 +343,7 @@ <h4 class="text-title">Testable</h4>
349343
<footer class="footer">
350344
<div class="container">
351345
<p class="pull-right"><a href="#" target="_self">Back to top</a></p>
352-
<p>Super-powered by Google ©2010-2018</p>
346+
<p>Super-powered by Google ©2010-2021</p>
353347
<p>Code licensed under the
354348
<a href="https://github.com/angular/angular.js/blob/master/LICENSE" target="_blank">The
355349
MIT License</a>. Documentation licensed under <a

0 commit comments

Comments
 (0)