Vikram Subramanian
0560751381
fix(core): stop reusing provider definitions across NgModuleRef instances ( #25088 )
...
Fixes #25018 .
Instantiating a NgModuleRef from NgModuleFactory reuses the NgModuleDefinition if it is already present. However the NgModuleDefinition has a providers array which modified when tree shakable providers are instantiated. This corrupts the provider definitions the next time the same factory is used to create a new NgModuleRef - Two provider definitions can end up with the same index and the injector could potentially return a completely wrong object for a provider token.
This scenario is more likely on the server where the same NgModuleFactory is reused across requests.
The fix clones the cached NgModuleDefinition so that any tree shakable providers added later do not affect the cached copy.
PR Close #25022
PR Close #25088
2018-07-25 10:16:13 -07:00
Johan CHOUQUET
e32c1b692a
docs(animations): typo fix in the comments ( #22652 )
...
PR Close #22652
2018-07-25 10:13:19 -07:00
Daniel
ae7b96ba13
docs: refactor style guide example 03-06 ( #24996 )
...
docs: refactor style guide example 03-06
docs: refactor style guide example 03-06
docs: refactor style guide example 03-06
PR Close #24996
2018-07-25 08:04:13 -07:00
Victor Berchet
01b6aad309
Revert "docs: refactor style guide example 03-06 ( #24996 )"
...
This reverts commit 93d325ccd5 .
2018-07-24 22:12:19 -07:00
Daniel
40cdab2225
docs: refactor ngmodules example ( #25072 )
...
PR Close #25072
2018-07-24 21:03:39 -07:00
Daniel
a38127fb47
docs: replace angular/http with HttpClient ( #25068 )
...
PR Close #25068
2018-07-24 20:54:45 -07:00
Daniel
cd811da672
docs: replace angular/http with HttpClient ( #25066 )
...
PR Close #25066
2018-07-24 20:51:50 -07:00
Daniel Sogl
76fb905916
docs: replaced old angular/http example ( #25065 )
...
PR Close #25065
2018-07-24 20:47:20 -07:00
Daniel
93d325ccd5
docs: refactor style guide example 03-06 ( #24996 )
...
PR Close #24996
2018-07-24 20:46:08 -07:00
Victor Berchet
c7d147eb96
Revert "build: update to newer circleCI bazel remote cache proxy ( #25054 )" ( #25076 )
...
This reverts commit d6016f1d1d .
PR Close #25076
2018-07-24 16:05:59 -07:00
Stefanie Fluin
70fb65fd00
docs(aio): cleanup aalert, callout, subsection use and author style ( #24986 )
...
PR Close #24986
2018-07-24 08:22:14 -07:00
Alex Eagle
10863e5817
build: update to newer circleCI bazel remote cache proxy ( #25054 )
...
it fixes the error we currently get on CI
PR Close #25054
2018-07-24 08:20:28 -07:00
Victor Berchet
5f680d4d6d
refactor(common): fix a merge error ( #25053 )
...
A `keyvalue-pipe` was inadvertently pulled in When merging #25028 (commit
6eca36756 ). This pipe is NOT in the patch branch and the test fails.
This commit remove the faulty spec.
PR Close #25053
2018-07-23 20:12:19 -07:00
cexbrayat
6eca36756a
docs: tests for number/percent/currency pipe ( #25028 )
...
Will avoid errors in examples like the one fixed in #24661
Closes #25028
2018-07-23 13:17:31 -07:00
Alex Eagle
060867dcc4
build: Fix windows tests ( #24927 )
...
closes #24927
2018-07-23 11:53:19 -07:00
Judy Bogart
4d840cba59
docs: technical review incorporated ( #24744 )
...
closes #24744
2018-07-23 11:46:16 -07:00
Judy Bogart
0222b5846b
docs: add api doc to commonly queried elements
2018-07-23 11:45:31 -07:00
Pete Bacon Darwin
ac52e1a6b6
build(docs-infra): ensure all API headings are sentence cased ( #24949 )
...
Closes #24880
PR Close #24949
2018-07-23 08:43:08 -07:00
Arun Kumar
7f3a5ec741
docs: square odds example in rxjs guide ( #24947 )
...
Added argument type to filter function of rxjs. Fixed the
return value of filtering of odd numbers
PR Close #24947
2018-07-23 08:41:58 -07:00
Mateusz Karkula
ac7658e1b9
docs: fix multicasting example in observable guide ( #24911 )
...
PR Close #24911
2018-07-23 08:40:46 -07:00
Maicon Wagner
dc0340c79e
docs: add Truly-UI to resources ( #24615 )
...
PR Close #24615
2018-07-23 08:39:35 -07:00
Dario Braun
6a74ef0fbc
docs: fix instructions for switching directories ( #24439 )
...
docs: fix instructions for switching directories
PR Close #24439
2018-07-23 08:38:10 -07:00
Kelly Marchewa
68df0d2c26
docs: update rxjs link to version 6 ( #24269 )
...
PR Close #24269
2018-07-23 08:36:51 -07:00
Daniel
d3656bcecc
docs: refactor style guide example 01-01 ( #22738 )
...
docs: refactor style guide example 01-01
PR Close #22738
2018-07-23 08:35:38 -07:00
Alex Eagle
4834fdaf59
fix(service-worker): don't include sourceMappingURL in ngsw-worker ( #24877 )
...
Fixes #23596
PR Close #24877
2018-07-20 11:49:46 -07:00
Judy Bogart
f2aeb703de
docs: fix bad link ( #24825 )
...
PR Close #24825
2018-07-20 11:34:39 -07:00
Xapuu
5a1ca35bc4
docs: remove closing parenthesis from provides guide ( #24935 )
...
PR Close #24935
2018-07-20 11:07:54 -07:00
George Kalpakas
2a5a05b28b
fix(docs-infra): fix table header layout in API pages ( #24919 )
...
PR Close #24919
2018-07-20 10:48:43 -07:00
George Kalpakas
4a29100ac8
test(platform-webworker): avoid flakes due to existing PlatformRef ( #24916 )
...
PR Close #24916
2018-07-20 10:47:17 -07:00
Marius Lichtblau
39afb01510
docs: update i18n with requested changes ( #24875 )
...
use more general project name in code example
PR Close #24875
2018-07-20 10:36:13 -07:00