Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit e8f0fe1

Browse files
vicbmhevery
authored andcommitted
chore(pubspec): Replace shadow_dom with web_components
The shadow_dom package is deprecated, see https://code.google.com/p/dart/issues/detail?id=18080 Closes #972
1 parent 40563c8 commit e8f0fe1

File tree

7 files changed

+21
-41
lines changed

7 files changed

+21
-41
lines changed

benchmark/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ packages:
7171
description: route_hierarchical
7272
source: hosted
7373
version: "0.4.19"
74-
shadow_dom:
75-
description: shadow_dom
76-
source: hosted
77-
version: "0.9.2"
7874
source_maps:
7975
description: source_maps
8076
source: hosted
@@ -91,3 +87,7 @@ packages:
9187
description: utf
9288
source: hosted
9389
version: "0.9.0"
90+
web_components:
91+
description: web_components
92+
source: hosted
93+
version: "0.3.3"

benchmark/pubspec.yaml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,9 @@
11
name: angular-perf
2-
version: 0.9.10
3-
authors:
4-
- Misko Hevery <misko@hevery.com>
5-
- Pavel Jbanov <pavelgj@gmail.com>
6-
- James deBoer <james@huronbox.com>
7-
- Chirayu Krishnappa <chirayu@google.com>
8-
- Matias Niemela <matias@yearofmoo.com>
9-
- Paul Rohde <paul@paulrohde.com>
10-
- Victor Berchet <victor@suumit.com>
11-
description: Angular for dart.
12-
homepage: https://angulardart.org
13-
environment:
14-
sdk: '>=1.2.0'
2+
version: 0.10.0
3+
description: Angular benchmarks
154
dependencies:
165
angular:
176
path: ..
18-
analyzer: '>=0.13.0 <0.14.0'
19-
browser: '>=0.10.0 <0.11.0'
20-
code_transformers: '>=0.1.0 <0.2.0'
21-
collection: '>=0.9.1 <1.0.0'
22-
di: '>=0.0.37 <0.1.0'
23-
html5lib: '>=0.8.7 <0.10.0'
24-
intl: '>=0.8.7 <0.10.0'
25-
perf_api: '>=0.0.8 <0.1.0'
26-
route_hierarchical: '>=0.4.7 <0.5.0'
27-
shadow_dom: '>=0.9.1 <1.0.0'
287
dev_dependencies:
298
benchmark_harness: '>=1.0.0'
309
unittest: '>=0.10.1 <0.12.0'

example/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ packages:
6767
description: route_hierarchical
6868
source: hosted
6969
version: "0.4.19"
70-
shadow_dom:
71-
description: shadow_dom
72-
source: hosted
73-
version: "0.9.2"
7470
source_maps:
7571
description: source_maps
7672
source: hosted
@@ -87,3 +83,7 @@ packages:
8783
description: utf
8884
source: hosted
8985
version: "0.9.0"
86+
web_components:
87+
description: web_components
88+
source: hosted
89+
version: "0.3.3"

karma-perf.conf.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ module.exports = function(config) {
88
// all tests must be 'included', but all other libraries must be 'served' and
99
// optionally 'watched' only.
1010
files: [
11+
'packages/web_components/platform.js',
12+
'packages/web_components/dart_support.js',
1113
'benchmark/dom/*.dart',
1214
'benchmark/*_perf.dart',
1315
'test/config/filter_tests.dart',
1416
{pattern: '**/*.dart', watched: true, included: false, served: true},
15-
'packages/browser/dart.js',
16-
'packages/browser/interop.js'
17+
'packages/browser/dart.js'
1718
],
1819

1920
autoWatch: false,

karma.conf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ module.exports = function(config) {
88
// all tests must be 'included', but all other libraries must be 'served' and
99
// optionally 'watched' only.
1010
files: [
11+
'packages/web_components/platform.js',
12+
'packages/web_components/dart_support.js',
1113
'test/jasmine_syntax.dart',
1214
'test/*.dart',
1315
'test/**/*_spec.dart',
1416
'test/config/filter_tests.dart',
1517
{pattern: '**/*.dart', watched: true, included: false, served: true},
16-
'packages/browser/dart.js',
17-
'packages/browser/interop.js',
18-
'packages/shadow_dom/shadow_dom.debug.js'
18+
'packages/browser/dart.js'
1919
],
2020

2121
exclude: [

pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ packages:
6565
description: route_hierarchical
6666
source: hosted
6767
version: "0.4.19"
68-
shadow_dom:
69-
description: shadow_dom
70-
source: hosted
71-
version: "0.9.2"
7268
source_maps:
7369
description: source_maps
7470
source: hosted
@@ -85,3 +81,7 @@ packages:
8581
description: utf
8682
source: hosted
8783
version: "0.9.0"
84+
web_components:
85+
description: web_components
86+
source: hosted
87+
version: "0.3.3"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
intl: '>=0.8.7 <0.10.0'
2525
perf_api: '>=0.0.8 <0.1.0'
2626
route_hierarchical: '>=0.4.18 <0.5.0'
27-
shadow_dom: '>=0.9.1 <1.0.0'
27+
web_components: '>=0.3.3 <0.4.0'
2828
dev_dependencies:
2929
benchmark_harness: '>=1.0.0'
3030
unittest: '>=0.10.1 <0.12.0'

0 commit comments

Comments
 (0)