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

Commit 8141611

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 e88da23 commit 8141611

File tree

7 files changed

+21
-29
lines changed

7 files changed

+21
-29
lines changed

benchmark/pubspec.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,7 @@ packages:
9191
description: utf
9292
source: hosted
9393
version: "0.9.0"
94+
web_components:
95+
description: web_components
96+
source: hosted
97+
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ packages:
8787
description: utf
8888
source: hosted
8989
version: "0.9.0"
90+
web_components:
91+
description: web_components
92+
source: hosted
93+
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,7 @@ packages:
8585
description: utf
8686
source: hosted
8787
version: "0.9.0"
88+
web_components:
89+
description: web_components
90+
source: hosted
91+
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)