Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6210 commits
Select commit Hold shift + click to select a range
3ad07ea
docs(guide/Using Location): change / remove obsolete information
Narretz Jul 1, 2018
74726b4
docs(changelog, guide/Migration): add info about $sce BC in 1.7
Narretz Jul 4, 2018
0e26197
perf(ngAnimate): avoid repeated calls to addClass/removeClass when an…
matsko Mar 3, 2016
e4339bc
feat($animate): add option data to event callbacks
Narretz Jun 23, 2018
494277e
docs($animate): clarify possible options and fired events
Narretz Jul 9, 2018
bfdc917
fix($compile): work around Firefox `DocumentFragment` bug
gkalpak Jun 26, 2018
aee7d53
fix($location): fix infinite recursion/digest on URLs with special ch…
jbedard Jun 24, 2018
84fb041
feat(*): implement more granular pending task tracking
gkalpak Jun 16, 2018
1c380b7
refactor(ngMock/$interval): more closely follow actual `$interval`'s …
gkalpak Jun 26, 2018
af59a0a
refactor($interval): share code between `$interval` and `ngMock/$inte…
gkalpak Jun 26, 2018
411e354
refactor($browser): share task-tracking code between `$browser` and `…
gkalpak Jun 26, 2018
b14f67f
feat(ngMock): add `$flushPendingTasks()` and `$verifyNoPendingTasks()`
gkalpak Jun 27, 2018
24eeab0
docs(ngMock/$timeout): recommend `$verifyNoPendingTasks()` when appro…
gkalpak Jul 2, 2018
6706353
docs(ngMock/$timeout): deprecate `flush()` and `verifyNoPendingTasks()`
gkalpak Jul 2, 2018
c2d0783
docs(ngMocks): fix type for `$flushPendingTasks`/`$verifyPendingsTasks`
gkalpak Jul 20, 2018
ff60b3f
refactor($location): move repeated path normalization code into helpe…
jbedard Jul 21, 2018
2f6f1a7
chore(karma): upgrade karma and related dependencies to latest versions
gkalpak Jul 21, 2018
3154111
chore(saucelabs): upgrade `sauce-connect` to latest version
gkalpak Jul 21, 2018
2dc83b2
docs(ngMock/$interval.flush): fix param type (not optional)
gkalpak Jul 21, 2018
7eee0c2
docs($route): fix typo (inluding --> including)
gkalpak Jul 22, 2018
204f9ff
docs(browserTrigger): document `eventData.data` property
gkalpak Jul 22, 2018
e500fb6
fix(angular.element): do not break on `cleanData()` if `_data()` retu…
gkalpak Jul 22, 2018
6b0193e
fix(ngEventDirs): don't wrap the event handler in $apply if already i…
markgardner May 25, 2016
a42f8a0
fix(ngEventDirs): pass error in handler to $exceptionHandler when eve…
Narretz Jul 13, 2018
6b915ad
fix(Angular): add workaround for Safari / Webdriver problem
Narretz Jul 26, 2018
aa7d45e
fix($compile): use correct parent element when requiring on html element
Narretz Jul 27, 2018
c133ef8
fix($animate): avoid memory leak with `$animate.enabled(element, enab…
gkalpak Jul 27, 2018
a071917
refactor($location): minor changes (unused deps, exported globals, un…
gkalpak Jul 19, 2018
fdfba09
refactor($location): remove unnecessary capturing group in RegExp
gkalpak Jul 19, 2018
8562a62
refactor($browser): correctly export helper used in specs
gkalpak Jul 19, 2018
2907798
test($location): add assertion
gkalpak Jul 19, 2018
864c7f0
fix($location): avoid unnecessary `$locationChange*` events due to em…
gkalpak Jul 19, 2018
ebeb1c9
fix(ngMock): pass failed HTTP expectations to `$exceptionHandler`
thorn0 Jul 24, 2018
88a12f8
refactor($compile): move img[srcset] sanitizing to helper method
jbedard Jun 25, 2018
dedb10c
feat($compile): add support for arbitrary DOM property and event bind…
jbedard Jun 26, 2018
af3b71e
docs(\$compile): add docs for ngProp and ngOn bindings
Narretz Aug 3, 2018
16b0692
docs(CHANGELOG.md): add changes for 1.7.3
Narretz Aug 3, 2018
848c9b5
docs(select): remove solved known issue
Narretz Aug 3, 2018
79ca0f1
fix(select): allow to select first option with value `undefined`
Narretz Aug 6, 2018
fd4a284
docs(guide/migration): fix typos, format inline code
gkalpak Aug 6, 2018
ad7ea95
docs(ngRepeat): redundant "and" on line 77
john-mantas Aug 4, 2018
837e519
fix(ngHref): allow numbers and other objects in interpolation
Narretz Aug 20, 2018
aecd551
docs(angular.copy): fix formatting
gkalpak Aug 21, 2018
937fb89
chore(doc-gen): upgrade `dgeni-packages` to 0.26.5
gkalpak Aug 23, 2018
510404e
fix($route): correctly extract path params if path contains question …
susisu Aug 20, 2018
506fe73
test(ngMocks): use correct method name in `$httpBackend` test
gkalpak Aug 21, 2018
9824c59
refactor(ngRoute): do not unnecessarily return `originalPath` in `rou…
gkalpak Aug 21, 2018
321ee99
refactor(ngMocks): clean up `MockHttpExpectation#params()`
gkalpak Aug 21, 2018
132344c
refactor(ngMocks): ignore query/hash when extracting path params for …
gkalpak Aug 21, 2018
99ad41f
refactor(ngMocks): clean up `MockHttpExpectation`
gkalpak Aug 25, 2018
a553735
refactor(ngMocks): simplify `routeToRegExp` by assuming `path` has qu…
gkalpak Aug 21, 2018
f010d6c
docs(guide): grammar correction in security guide
craigdanj Sep 5, 2018
44cc823
fix(ngAnimate): remove prepare classes with multiple structural anima…
Narretz Sep 6, 2018
c42cadd
docs(version-support-status): remove outdated info, resolve inconsist…
mgol Sep 6, 2018
8082d5e
fix(ngAria.ngClick): preventDefault on space/enter only on non-intera…
Narretz Sep 6, 2018
e25f842
docs(changelog): add 1.7.4 release notes
petebacondarwin Sep 7, 2018
eb0ccc6
docs(*): update LTS information in `README.md` and docs landing page
sibiraj-s Sep 10, 2018
26ddc5f
fix(ngClass): do not break on invalid values
gkalpak Sep 19, 2018
33f801e
docs(changelog): add 1.7.5 release notes
petebacondarwin Oct 4, 2018
bb5a7e3
fix(ngStyle): skip setting empty value when new style has the property
itchyny Oct 4, 2018
0a5e58d
chore(*): update minimum Yarn version, do some Yarn-related cleanups
mgol Oct 11, 2018
100cf72
chore(*): update Sauce Connect from 4.4.12 to 4.5.1
mgol Oct 15, 2018
d86f6be
fix(ngMock): make matchLatestDefinitionEnabled work
Narretz Oct 5, 2018
52ad819
docs(ngMock/ngMockE2E.$httpBackend): fix method name to matchLatestDe…
Narretz Oct 15, 2018
3930720
test(modules): properly isolate module tests
Narretz Oct 15, 2018
fd28edf
refactor(ngAnimateSwap): remove unnecessary `inject()` from tests
gkalpak Oct 11, 2018
3e38032
fix(ngAnimateSwap): make it compatible with `ngIf` on the same element
gkalpak Oct 11, 2018
b4e409b
fix(urlUtils): make IPv6 URL's hostname wrapped in square brackets in…
mgol Oct 11, 2018
09751be
docs(guide/Developer Guide): correct broken link
hbrotan Oct 29, 2018
6e3bbfc
fix(input): prevent browsers from autofilling hidden inputs
jbedard Sep 27, 2018
258713a
chore(package): update protractor & webdriver dependencies
petebacondarwin Oct 18, 2018
3df4ee4
docs(changelog): fix typos, change 'ctrk' to 'ctrl'
Nov 2, 2018
4e372d9
docs(guide/migration): fix typos, change 'ctrk' to 'ctrl'
Nov 2, 2018
c3f6123
chore(package): fix scripts for Node 10.x on Windows
gkalpak Nov 6, 2018
7240f31
chore(docs): fix rendering of methods' `this` type
gkalpak Nov 6, 2018
ba4d903
chore(i18n): fix UCD extraction for Node 10.x
gkalpak Nov 6, 2018
06d154f
test($compile): fix incorrect markup in tests
gkalpak Nov 8, 2018
736e299
test(ngOn*): add tests for binding to camelCased event names
gkalpak Nov 8, 2018
362dd17
refactor(production): remove duplicate expression
teresy Oct 19, 2018
1a14b58
docs(tutotial): switch all links to `https`
gkalpak Nov 2, 2018
b77f058
docs(tutorial): switch from `bower` to `npm` and upgrade AngularJS to…
gkalpak Nov 2, 2018
a48c47f
docs(tutorial): replace `getLocationAbsUrl()` with `getCurrentUrl()`
gkalpak Nov 2, 2018
67263f2
docs(tutorial): explain how to upgrade dependencies
gkalpak Nov 2, 2018
4f2b2b6
docs(tutorial): mention that Protractor might need upgrading
gkalpak Nov 2, 2018
318e6ce
test(e2e): replace the deprecated `browser.getLocationAbsUrl()` with …
alopezsanchez Jun 14, 2017
2dfb6b4
fix($q): allow third-party promise libraries
vbraun Feb 26, 2018
622d32e
fix(interpolate): do not create directives for constant media URL att…
petebacondarwin Oct 24, 2018
dc90cbf
test($browser): update MockWindow to normalize URLs similar to real w…
jbedard Jun 23, 2018
4a3ae43
fix($browser): normalize inputted URLs
jbedard Jun 24, 2018
e77a744
chore(*): update karma
Narretz Oct 25, 2018
ab36c4b
revert: fix(Angular): add workaround for Safari / Webdriver problem
Narretz Oct 25, 2018
15d4dd3
chore(saucelabs): always test 2 latest Safari versions
Narretz Oct 29, 2018
a5a98d3
chore(travis): put unit module tests into separate job
Narretz Oct 29, 2018
0cdff42
fix(aria/ngClick): check if element is `contenteditable` before block…
Eblax Nov 16, 2018
d855b74
chore(Saucelabs): increase max session duration
Narretz Dec 5, 2018
0637a21
perf(input): prevent multiple validations on initialization
Narretz Dec 5, 2018
fa8fe1f
docs(tutorial/step_6): fix experiment description
ravefalcon92 Dec 3, 2018
a0c4e25
docs(tutorial/step_3): clarify how components are mapped to HTML elem…
joej164 Nov 23, 2018
3ea8c2b
fix(ngRepeat): fix trackBy function being invoked with incorrect scope
jbedard Nov 28, 2018
de0aad8
fix(ngRepeat): fix reference to last collection value remaining acros…
jbedard Nov 30, 2018
09f013a
fix(compile): properly handle false value for boolean attrs with jQuery
mgol Dec 6, 2018
e7e8dad
test(ngSanitize): disable a failing Edge test in all versions, includ…
mgol Dec 9, 2018
04ae4e5
test(*): isolate cache leaks from subsequent tests
petebacondarwin Dec 10, 2018
5f1cf11
chore(utils): do not mutate source arrays
petebacondarwin Dec 10, 2018
264819a
chore(modules): execute modules unit tests in one karma run
petebacondarwin Dec 10, 2018
9ae51d7
test(ngAnimate): ensure that `blockTransitions` can be spied upon
petebacondarwin Dec 10, 2018
98d9143
chore(package): rename to angular to match npm
frederikprijck Dec 27, 2018
2580bde
docs(ISSUE_TEMPLATE.md): add Opera to browser list
julkwel Dec 29, 2018
1e8a3de
docs(guide/Conceptual Overview): use exchangeratesapi.io
bkiselka Jan 4, 2019
9159393
test(ngHref): only run Edge-specific test on relevant Edge versions
gkalpak Jan 3, 2019
7448d87
chore(saucelabs): upgrade to latest SauceConnect
gkalpak Jan 3, 2019
4584f0c
chore(saucelabs): use 'websocket' for transmission when possible
gkalpak Jan 8, 2019
940c1ab
chore(package): upgrade to latest `karma`
gkalpak Jan 3, 2019
195756b
chore(package): upgrade to latest `karma-sauce-launcher`
gkalpak Jan 3, 2019
7944b0c
chore(travis): suppress verbose log output and allow error logging
gkalpak Jan 3, 2019
53ff448
chore(saucelabs): add `SL_EDGE-1` to browser list
gkalpak Jan 8, 2019
be45d3c
chore(saucelabs): remove `SL_Safari` from browser list
gkalpak Jan 9, 2019
8b973e0
fix($compile): fix ng-prop-* with undefined values
jbedard Dec 22, 2018
c7671ed
chore(*): update CHANGELOG with release notes for 1.7.6
petebacondarwin Jan 17, 2019
7825772
docs(ngDisabled): remove restriction to input element
Narretz Jan 21, 2019
0633d8f
docs(input[email]): note limitations with IPv6 addresses
Narretz Jan 11, 2019
fbc83f0
docs(ngParseExt): note limitations with ngOptions and ngRepeat
Narretz Jan 11, 2019
2d8b346
docs(angular.copy): add note about destination and source compatibility
Narretz Jan 11, 2019
63796d3
docs(angular.copy): list object types / features that are not supported
Narretz Jan 14, 2019
65f800e
docs(angular.merge): add notes about support and lodash compatibility
Narretz Jan 14, 2019
9f7144b
docs(angular.copy): fix list of unsupported types
Narretz Jan 21, 2019
005dd97
fix(ngRequired): set error correctly when inside ngRepeat and false b…
Narretz Jan 26, 2019
fffe7d1
docs(RELEASE): store release instructions
petebacondarwin Feb 4, 2019
94582f0
docs(CHANGELOG): update with 1.7.7 release notes
petebacondarwin Feb 4, 2019
587843b
chore(scripts): use https for git repo URLs
petebacondarwin Feb 4, 2019
f768023
chore(github): update PR template to highlight LTS mode
petebacondarwin Feb 27, 2019
cbf35f0
chore(github): update Issue template with LTS info
petebacondarwin Feb 27, 2019
a1d1564
docs(guide/di): clarify example description
kambleaa007 Feb 16, 2019
6959bc2
fix(required): correctly validate required on non-input element surro…
Narretz Mar 6, 2019
e629fe4
docs(CHANGELOG): add 1.7.8 release notes
petebacondarwin Mar 11, 2019
c898009
chore(*): update copyright year
JandersonConstantino Mar 13, 2019
55075b8
docs(DEVELOPERS): remove git revert misleading information
askhalil Mar 26, 2019
c8d985a
chore(*): update jQuery from 3.2.1 to 3.4.0
mgol Apr 12, 2019
10d1b19
fix(ngStyle): correctly remove old style when new style value is invalid
gkalpak Apr 27, 2019
825e25b
docs(guide/migration): fix typo (misceallenous --> miscellaneous)
byronigoe May 24, 2019
1147f0e
docs($compile): fix typos and incorrect example
gkalpak Jul 21, 2019
881167d
chore(saucelabs): upgrade SauceConnect to 4.5.4
gkalpak Jul 23, 2019
060bcde
chore(saucelabs): switch to latest version of desktop Safari
gkalpak Jul 23, 2019
add78e6
fix(angular.merge): do not merge __proto__ property
petebacondarwin Nov 7, 2019
27460db
docs: release notes for 1.7.9
petebacondarwin Nov 19, 2019
ff5f782
docs: add mention to changelog
petebacondarwin Nov 19, 2019
36f17c9
docs: add mention to changelog
petebacondarwin Nov 19, 2019
be6a6d8
chore(*): update copyright year to 2020
AngelKitty Jan 1, 2020
a4daf1f
docs(angular.copy): fix `getter`/`setter` formatting
thatshubham Jan 7, 2020
0cd592f
docs(angular.errorHandlingConfig): fix typo (wether --> whether)
thatshubham Jan 7, 2020
c8a6e84
chore(package): fix scripts for latest Node 10.x on Windows
gkalpak Feb 1, 2020
68701ef
chore(*): fix serving of URI-encoded files on code.angularjs.org
gkalpak Feb 1, 2020
2b28c54
docs(*): fix spelling errors
Jan 28, 2020
ff963de
docs($aria): get the docs working for the service
chivesrs Feb 7, 2020
f6986f8
docs(developers): commit message format typo
samkatakouzinos Mar 10, 2020
123c5a0
docs(misc/Version Support Status): Minor Typo Fix
nishantwrp Apr 12, 2020
94c288b
chore(code.angularjs.org): upgrade Firebase libraries
gkalpak Apr 14, 2020
418355f
chore(docs.angularjs.org): upgrade Firebase libraries
gkalpak Apr 14, 2020
8e941f4
chore(*): update jQuery from 3.4.0 to 3.5.1
mgol May 19, 2020
43c3e5b
chore(*): update Node.js from 8 to 12, update some dependencies
mgol Nov 15, 2019
c4b79d5
chore(*): update protractor to latest version
petebacondarwin May 20, 2020
9c810eb
chore(*): update saucelabs browsers
petebacondarwin May 20, 2020
974700a
test(*): fix up some tests for Firefox
petebacondarwin May 22, 2020
a0488b3
chore(ci): move over to CircleCi config
petebacondarwin May 21, 2020
d9e68b1
chore(ci): use correct executor for deploying code
petebacondarwin May 23, 2020
3c75a89
chore(ci): attempt to fix up code deployment
petebacondarwin May 24, 2020
566a552
chore(ci): update and deploy firebase function for code.angularjs.org
petebacondarwin May 24, 2020
7de25c8
chore(ci): ensure that deployment files are ready for deployment
petebacondarwin May 24, 2020
2518966
fix(grunt-utils): insert the core CSS styles without using innerHTML
koto May 24, 2020
a31c207
chore(docs-app): remove `document.write()` from docs `index.html`
gkalpak May 24, 2020
295213d
chore(*): clean up `package.json` and CircleCI config
gkalpak May 24, 2020
2df43c0
fix(jqLite): prevent possible XSS due to regex-based HTML replacement
mgol May 19, 2020
05cf606
fix(jqLite): apply suggestions from code review
mgol May 26, 2020
c8b7c16
fix(jqLite): improve documentation
mgol May 26, 2020
59b5651
docs(ngRepeat): missing closing backtick
eran-nussbaum Jun 2, 2020
78ab691
chore(*): prep for 1.8.0
petebacondarwin May 20, 2020
e55d352
docs(*): update changelog for 1.8.0
petebacondarwin Jun 1, 2020
72fbd48
chore: update changelog with vulnerability credits
petebacondarwin Jun 5, 2020
2fab3d4
fix($sanitize): do not trigger CSP alert/report in Firefox and Chrome
peruukki Apr 14, 2020
94dc1d0
chore(deps): bump websocket-extensions
dependabot[bot] Jun 6, 2020
d6ae0ee
Merge pull request #17043 from angular/dependabot/npm_and_yarn/script…
dependabot[bot] Jun 11, 2020
42abc82
chore(deps): bump lodash
dependabot[bot] Jul 16, 2020
49655fa
chore(deps): bump lodash
dependabot[bot] Jul 16, 2020
01ed44e
chore(deps-dev): bump lodash from 2.4.2 to 4.17.19
dependabot[bot] Jul 16, 2020
4099279
fix(doc-gen): use the correct lodash method in dgeni processor (index…
gkalpak Jul 16, 2020
5541828
docs(misc/Version Support Status): mention LTS extension by 6 months …
ewaDev Jul 28, 2020
0d14993
chore(deps): bump elliptic from 6.3.3 to 6.5.3
dependabot[bot] Jul 30, 2020
f9b5cbf
chore(package.json): update docs app to use version 1.8 of AngularJS
gkalpak Aug 2, 2020
0468870
chore(ci): correctly deploy code and docs on version branches and tags
gkalpak Aug 2, 2020
83f084e
chore(ci): avoid unnecessarily running `grunt prepareDeploy` in `depl…
gkalpak Aug 13, 2020
3e62832
chore(ci): fix `deploy-code` CI job
gkalpak Aug 20, 2020
744862a
chore(ci): fix `deploy-docs` CI job
gkalpak Aug 20, 2020
a6a6c16
chore(ci): avoid deploying if linting fails
gkalpak Aug 20, 2020
4428dd0
chore(ci): correctly compute the `DIST_TAG` environment variable
gkalpak Aug 22, 2020
26e13e5
chore(ci): fix docs deployment to Firebase (`deploy-docs` CI job)
gkalpak Aug 22, 2020
9679e58
chore(ci): correctly compute `$DIST_TAG` in the `deploy-code` CI job
gkalpak Aug 22, 2020
a206e26
refactor(sceDelegateProvider): remove usages of whitelist and blacklist
josephperrott Sep 23, 2020
c953af6
refactor(httpProvider): remove usages of whitelist and blacklist
josephperrott Sep 23, 2020
7673810
refactor(SanitizeUriProvider): remove usages of whitelist
josephperrott Sep 23, 2020
3dd42ce
refactor(misc): remove usages of whitelist and blacklist
josephperrott Sep 23, 2020
b42ab51
docs(security): add SECURITY.md
Splaktar May 6, 2020
b96a1de
chore(deps): bump is-my-json-valid from 2.15.0 to 2.20.5
dependabot[bot] Sep 30, 2020
abff650
chore(ci): add engines to docs firebase deployment
Narretz Jun 1, 2020
e1ecd18
chore(SauceLabs): update `sauce-connect` to version 4.6.2
gkalpak Sep 30, 2020
2f73f6a
chore(copyright): update to Google LLC
Splaktar Aug 8, 2020
0a746a2
chore(deps): bump http-proxy from 1.16.2 to 1.18.1
dependabot[bot] Sep 30, 2020
d0e7dc1
chore(deps): bump node-fetch
dependabot[bot] Sep 30, 2020
e7c105c
chore(deps): bump node-fetch
dependabot[bot] Sep 30, 2020
f17c7d8
chore(deps): bump node-fetch from 2.6.0 to 2.6.1
dependabot[bot] Sep 30, 2020
6b86a88
chore(CircleCI): fix `deploy-docs` job
gkalpak Sep 30, 2020
bb48006
docs(changelog): add release notes for 1.8.1
petebacondarwin Oct 5, 2020
8aa3389
docs(version-support-status): add link to extended long term support
aaronfrost Sep 23, 2020
71d19f1
docs(*): fix docs on recently deprecated properties/methods
gkalpak Oct 13, 2020
e41f018
fix($sceDelegate): make `resourceUrlWhitelist()` is identical `truste…
gkalpak Oct 13, 2020
9b3b6f7
docs(changelog): add release notes for 1.8.2
petebacondarwin Oct 21, 2020
2e72ea1
docs(changelog): fix typos in 1.8.1/1.8.2 notes
gkalpak Oct 24, 2020
6e052a4
chore(code.angularjs.org): check in `yarn.lock` file (and remove `pac…
gkalpak Feb 5, 2021
b481a16
chore(ci): copy deployment files inside the respective Firebase direc…
gkalpak Feb 5, 2021
667ff87
chore(ci): deploy to `docs.angularjs.org` from within the correspondi…
gkalpak Feb 5, 2021
c7d68fa
chore(ci): also deploy Firebase functions to `docs-angularjs-org`
gkalpak Feb 5, 2021
66ada20
chore(ci): also deploy `code-angularjs-org` to Firebase
gkalpak Feb 5, 2021
4267ad6
chore(ci): use default project from config when deploying to Firebase
gkalpak Feb 5, 2021
12df4d6
chore(build): use Node.js v12 for Firebase functions on `{code,docs}-…
gkalpak Feb 5, 2021
ed7d506
chore(build): update Firebase dependencies to latest versions
gkalpak Feb 5, 2021
63d613f
fix(code.angularjs.org): correctly re-construct paths on Windows in `…
gkalpak Feb 5, 2021
a6fa1ce
chore(ci): fix failing `deploy-code` job
gkalpak Feb 6, 2021
30a4424
chore(ci): only run `deploy-code-firebase` on master
gkalpak Feb 6, 2021
8a941b8
chore(deps): bump ini from 1.3.4 to 1.3.7
dependabot[bot] Feb 6, 2021
89c7794
chore(deps): bump https-proxy-agent from 2.2.1 to 2.2.4
dependabot[bot] Feb 6, 2021
ae8e903
chore(deps): bump bl from 1.2.2 to 1.2.3
dependabot[bot] Feb 6, 2021
d463206
chore(deps): bump elliptic from 6.5.3 to 6.5.4
dependabot[bot] Mar 9, 2021
9bff2ce
docs($parse): fix typo in lval.ngdoc
eltociear Mar 9, 2021
02545a8
chore(deps): bump y18n from 3.2.1 to 3.2.2
dependabot[bot] Mar 30, 2021
e29900c
docs($parse): fix typo in parse.js
eltociear Apr 20, 2021
1a5b051
docs(misc/Version Support Status): update URL for XLTS.dev
Splaktar Jun 1, 2021
c140d89
chore(build): support NodeJS LTS v14. fix audit issues
Splaktar Jun 5, 2021
c3769a6
chore(functions): support NodeJS LTS v14. fix audit issues
Splaktar Jun 5, 2021
58cd897
chore(e2e): run tests against Firefox 85 on macOS Catalina
Splaktar Jun 8, 2021
56b0ee3
chore(e2e): run tests against Chrome 91 on macOS Catalina
Splaktar Jun 8, 2021
47f8c65
chore(deps): bump normalize-url from 4.5.0 to 4.5.1
dependabot[bot] Jun 12, 2021
4032655
chore(deps): bump js-yaml from 3.5.5 to 3.14.1
dependabot[bot] Jun 12, 2021
ed30c4d
docs(README.md): add wiki link to MVC
Gkolman Aug 20, 2021
6a52c4f
test(input): fix tests on Firefox v93+
Dec 8, 2021
fb04e42
test(Angular): fix `angularInit()` tests on Safari v15+
Dec 8, 2021
f362437
docs(eol): add EOL options text and link to template header used in e…
Dec 3, 2021
757d56e
docs(*): update end-of-life messages (#17177)
jelbourn Mar 18, 2022
cf16b24
docs(changelog): add release notes for 1.8.3
jelbourn Apr 7, 2022
b5aa425
docs(changelog): fix typo in changelog for 1.8.3
jelbourn Apr 11, 2022
47bf11e
docs(changelog): fix wrong date in changelog for 1.8.3
jelbourn Apr 12, 2022
d8f7781
chore: update post LTS links (#17187)
Brocco Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
509 changes: 509 additions & 0 deletions .circleci/config.yml

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions .circleci/env-helpers.inc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
####################################################################################################
# Helpers for defining environment variables for CircleCI.
#
# In CircleCI, each step runs in a new shell. The way to share ENV variables across steps is to
# export them from `$BASH_ENV`, which is automatically sourced at the beginning of every step (for
# the default `bash` shell).
#
# See also https://circleci.com/docs/2.0/env-vars/#using-bash_env-to-set-environment-variables.
####################################################################################################

# Set and print an environment variable.
#
# Use this function for setting environment variables that are public, i.e. it is OK for them to be
# visible to anyone through the CI logs.
#
# Usage: `setPublicVar <name> <value>`
function setPublicVar() {
setSecretVar $1 "$2";
echo "$1=$2";
}

# Set (without printing) an environment variable.
#
# Use this function for setting environment variables that are secret, i.e. should not be visible to
# everyone through the CI logs.
#
# Usage: `setSecretVar <name> <value>`
function setSecretVar() {
# WARNING: Secrets (e.g. passwords, access tokens) should NOT be printed.
# (Keep original shell options to restore at the end.)
local -r originalShellOptions=$(set +o);
set +x -eu -o pipefail;

echo "export $1=\"${2:-}\";" >> $BASH_ENV;

# Restore original shell options.
eval "$originalShellOptions";
}


# Create a function to set an environment variable, when called.
#
# Use this function for creating setter for public environment variables that require expensive or
# time-consuming computaions and may not be needed. When needed, you can call this function to set
# the environment variable (which will be available through `$BASH_ENV` from that point onwards).
#
# Arguments:
# - `<name>`: The name of the environment variable. The generated setter function will be
# `setPublicVar_<name>`.
# - `<code>`: The code to run to compute the value for the variable. Since this code should be
# executed lazily, it must be properly escaped. For example:
# ```sh
# # DO NOT do this:
# createPublicVarSetter MY_VAR "$(whoami)"; # `whoami` will be evaluated eagerly
#
# # DO this isntead:
# createPublicVarSetter MY_VAR "\$(whoami)"; # `whoami` will NOT be evaluated eagerly
# ```
#
# Usage: `createPublicVarSetter <name> <code>`
#
# Example:
# ```sh
# createPublicVarSetter MY_VAR 'echo "FOO"';
# echo $MY_VAR; # Not defined
#
# setPublicVar_MY_VAR;
# source $BASH_ENV;
# echo $MY_VAR; # FOO
# ```
function createPublicVarSetter() {
echo "setPublicVar_$1() { setPublicVar $1 \"$2\"; }" >> $BASH_ENV;
}
69 changes: 69 additions & 0 deletions .circleci/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/usr/bin/env bash

# Variables
readonly projectDir=$(realpath "$(dirname ${BASH_SOURCE[0]})/..")
readonly envHelpersPath="$projectDir/.circleci/env-helpers.inc.sh";

# Load helpers and make them available everywhere (through `$BASH_ENV`).
source $envHelpersPath;
echo "source $envHelpersPath;" >> $BASH_ENV;

####################################################################################################
# Define PUBLIC environment variables for CircleCI.
####################################################################################################
# See https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables for more info.
####################################################################################################
setPublicVar CI "$CI"
setPublicVar PROJECT_ROOT "$projectDir";
# This is the branch being built; e.g. `pull/12345` for PR builds.
setPublicVar CI_BRANCH "$CIRCLE_BRANCH";
setPublicVar CI_BUILD_URL "$CIRCLE_BUILD_URL";
setPublicVar CI_COMMIT "$CIRCLE_SHA1";
setPublicVar CI_GIT_BASE_REVISION "${CIRCLE_GIT_BASE_REVISION}";
setPublicVar CI_GIT_REVISION "${CIRCLE_GIT_REVISION}";
setPublicVar CI_GIT_TAG "${CIRCLE_TAG:-false}";
setPublicVar CI_COMMIT_RANGE "$CIRCLE_GIT_BASE_REVISION..$CIRCLE_GIT_REVISION";
setPublicVar CI_PULL_REQUEST "${CIRCLE_PR_NUMBER:-false}";
setPublicVar CI_REPO_NAME "$CIRCLE_PROJECT_REPONAME";
setPublicVar CI_REPO_OWNER "$CIRCLE_PROJECT_USERNAME";
setPublicVar CI_PR_REPONAME "$CIRCLE_PR_REPONAME";
setPublicVar CI_PR_USERNAME "$CIRCLE_PR_USERNAME";


####################################################################################################
# Define SauceLabs environment variables for CircleCI.
####################################################################################################
setPublicVar BROWSER_PROVIDER "saucelabs"

# The currently latest-1 version of desktop Safari on Saucelabs (v12.0) is unstable and disconnects
# consistently. The latest version (v12.1) works fine.
# TODO: Add `SL_Safari-1` back, once it no longer corresponds to v12.0.
setPublicVar BROWSERS "SL_Chrome,SL_Chrome-1,\
SL_Firefox,SL_Firefox-1,\
SL_Safari,\
SL_iOS,SL_iOS-1,\
SL_IE_9,SL_IE_10,SL_IE_11,\
SL_EDGE,SL_EDGE-1"

setPublicVar SAUCE_LOG_FILE /tmp/angular/sauce-connect.log
setPublicVar SAUCE_READY_FILE /tmp/angular/sauce-connect-ready-file.lock
setPublicVar SAUCE_PID_FILE /tmp/angular/sauce-connect-pid-file.lock
setPublicVar SAUCE_TUNNEL_IDENTIFIER "angularjs-framework-${CIRCLE_BUILD_NUM}-${CIRCLE_NODE_INDEX}"
# Amount of seconds we wait for sauceconnect to establish a tunnel instance. In order to not
# acquire CircleCI instances for too long if sauceconnect failed, we need a connect timeout.
setPublicVar SAUCE_READY_FILE_TIMEOUT 120

####################################################################################################
# Define additional environment variables
####################################################################################################

# NOTE: Make sure the tools used to compute this are available in all executors in `config.yml`.
setPublicVar DIST_TAG $( cat package.json | grep distTag | sed -E 's/^\s*"distTag"\s*:\s*"([^"]+)"\s*,\s*$/\1/' )

####################################################################################################
####################################################################################################
## Source `$BASH_ENV` to make the variables available immediately. ##
## *** NOTE: This must remain the last command in this script. *** ##
####################################################################################################
####################################################################################################
source $BASH_ENV;
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://editorconfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[dropdown-toggle.js]
trim_trailing_whitespace = false
insert_final_newline = false

[htmlparser.js]
insert_final_newline = false
10 changes: 10 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
build/**
docs/app/assets/js/angular-bootstrap/**
docs/config/templates/**
node_modules/**
lib/htmlparser/**
src/angular.bind.js
src/ngParseExt/ucd.js
i18n/closure/**
tmp/**
vendor/**
117 changes: 117 additions & 0 deletions .eslintrc-base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"rules": {
// Rules are divided into sections from http://eslint.org/docs/rules/

// Possible errors
"comma-dangle": ["error", "never"],
"no-cond-assign": ["error", "except-parens"],
"no-constant-condition": ["error", {"checkLoops": false}],
"no-control-regex": "error",
"no-debugger": "error",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty-character-class": "error",
"no-empty": "error",
"no-ex-assign": "error",
"no-extra-boolean-cast": "error",
"no-extra-semi": "error",
"no-func-assign": "error",
"no-inner-declarations": "error",
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-negated-in-lhs": "error",
"no-obj-calls": "error",
"no-regex-spaces": "error",
"no-sparse-arrays": "error",
"no-unreachable": "error",
"use-isnan": "error",
"no-unsafe-finally": "error",
"valid-typeof": "error",
"no-unexpected-multiline": "error",

// Best practices
"accessor-pairs": "error",
"array-callback-return": "error",
"eqeqeq": ["error", "allow-null"],
"no-alert": "error",
"no-caller": "error",
"no-case-declarations": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-label": "error",
"no-fallthrough": "error",
"no-floating-decimal": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-iterator": "error",
"no-multi-str": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-new": "error",
"no-octal-escape": "error",
"no-octal": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-return-assign": "error",
"no-script-url": "error",
"no-self-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-unmodified-loop-condition": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-void": "error",
"no-with": "error",
"radix": "error",
"wrap-iife": ["error", "inside"],

// Strict mode
"strict": ["error", "global"],

// Variables
"no-delete-var": "error",
"no-label-var": "error",
"no-restricted-globals": ["error", "event"],
"no-shadow-restricted-names": "error",
"no-undef-init": "error",
"no-undef": "error",
"no-unused-vars": ["error", { "vars": "local", "args": "none" }],

// Node.js
"handle-callback-err": "error",

// Stylistic issues
"array-bracket-spacing": ["error", "never"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"comma-style": ["error", "last"],
"eol-last": "error",
"keyword-spacing": "error",
"linebreak-style": ["error", "unix"],
"max-len": ["error", { "code": 200, "ignoreComments": true, "ignoreUrls": true }],
"new-cap": "error",
"new-parens": "error",
"no-array-constructor": "error",
"no-bitwise": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multiple-empty-lines": ["error", { "max": 3, "maxEOF": 1 }],
"no-whitespace-before-property": "error",
"no-spaced-func": "error",
"no-trailing-spaces": "error",
"no-unneeded-ternary": "error",
"quotes": ["error", "single"],
"semi-spacing": "error",
"semi": "error",
"space-before-blocks": ["error", "always"],
"space-before-function-paren": ["error", "never"],
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": ["error", { "words": true, "nonwords": false }],
"unicode-bom": ["error", "never"]
}
}
17 changes: 17 additions & 0 deletions .eslintrc-browser.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": "./.eslintrc-base.json",

"env": {
// Note: don't set `"browser": true`; code in "src/" should be compatible with
// non-browser environments like Node.js with a custom window implementation
// like jsdom. All browser globals should be taken from window.
"browser": false,
"node": false
},

"globals": {
"window": false,

"angular": false
}
}
13 changes: 13 additions & 0 deletions .eslintrc-node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "./.eslintrc-base.json",
"env": {
"browser": false,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"plugins": [
"promise"
]
}
25 changes: 25 additions & 0 deletions .eslintrc-todo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// This config contains proposed rules that we'd like to have enabled but haven't
// converted the code to adhere yet. If a decision comes to not enable one of these
// rules, it should be removed from the file. Every rule that got enabled in the
// end should be moved from here to a respective section in .eslintrc.json

"rules": {
// Rules are divided into sections from http://eslint.org/docs/rules/

// Best practices
"complexity": ["error", 10],
"dot-notation": "error",
"dot-location": ["error", "property"],

// Stylistic issues
"block-spacing": ["error", "always"],
"comma-spacing": "error",
"id-denylist": ["error", "event"],
"indent": ["error", 2],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true, "mode": "minimum" }],
"object-curly-spacing": ["error", "never"],
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" }}]
}
}
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": "./.eslintrc-node.json"
}
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Auto detect text files and perform LF normalization
* text=auto

# JS files must always use LF for tools to work
*.js eol=lf
Loading