govuk_publishing_components 16.29.0 → 17.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +46 -23
- data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +8 -2
- data/app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js +101 -21
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +9 -2
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +4 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +36 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +14 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +23 -23
- data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +10 -10
- data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +11 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +14 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +7 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +20 -16
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-list.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +8 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +1 -1
- data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +33 -25
- data/app/views/govuk_publishing_components/components/_error_summary.html.erb +4 -2
- data/app/views/govuk_publishing_components/components/_notice.html.erb +4 -1
- data/app/views/govuk_publishing_components/components/docs/cookie_banner.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/error_summary.yml +6 -0
- data/app/views/govuk_publishing_components/components/docs/notice.yml +6 -0
- data/app/views/govuk_publishing_components/components/docs/success_alert.yml +1 -1
- data/lib/govuk_publishing_components/presenters/cookie_banner_helper.rb +0 -4
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/accessible-autocomplete/dist/accessible-autocomplete.min.js +1 -1
- data/node_modules/accessible-autocomplete/dist/accessible-autocomplete.min.js.map +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js.map +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.react.min.js +1 -1
- data/node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.react.min.js.map +1 -1
- data/node_modules/accessible-autocomplete/package.json +3 -3
- data/node_modules/accessible-autocomplete/src/autocomplete.js +4 -2
- data/node_modules/accessible-autocomplete/src/wrapper.js +5 -1
- data/node_modules/d/CHANGELOG.md +9 -0
- data/node_modules/d/CHANGES +4 -0
- data/node_modules/d/LICENSE +12 -16
- data/node_modules/d/README.md +49 -19
- data/node_modules/d/auto-bind.js +11 -10
- data/node_modules/d/index.js +23 -24
- data/node_modules/d/lazy.js +21 -23
- data/node_modules/d/package.json +63 -16
- data/node_modules/d/test/auto-bind.js +6 -7
- data/node_modules/d/test/index.js +78 -51
- data/node_modules/d/test/lazy.js +65 -50
- data/node_modules/es6-weak-map/CHANGELOG.md +5 -0
- data/node_modules/es6-weak-map/LICENSE +12 -16
- data/node_modules/es6-weak-map/README.md +34 -19
- data/node_modules/es6-weak-map/implement.js +9 -5
- data/node_modules/es6-weak-map/index.js +2 -2
- data/node_modules/es6-weak-map/is-implemented.js +10 -9
- data/node_modules/es6-weak-map/is-native-implemented.js +3 -3
- data/node_modules/es6-weak-map/is-weak-map.js +8 -8
- data/node_modules/es6-weak-map/package.json +30 -19
- data/node_modules/es6-weak-map/polyfill.js +31 -32
- data/node_modules/es6-weak-map/test/implement.js +4 -2
- data/node_modules/es6-weak-map/test/index.js +4 -3
- data/node_modules/es6-weak-map/test/is-implemented.js +9 -8
- data/node_modules/es6-weak-map/test/is-native-implemented.js +4 -2
- data/node_modules/es6-weak-map/test/is-weak-map.js +4 -4
- data/node_modules/es6-weak-map/test/polyfill.js +13 -13
- data/node_modules/es6-weak-map/test/valid-weak-map.js +22 -9
- data/node_modules/es6-weak-map/valid-weak-map.js +5 -5
- data/node_modules/resolve/lib/async.js +1 -1
- data/node_modules/resolve/lib/node-modules-paths.js +1 -1
- data/node_modules/resolve/lib/sync.js +0 -2
- data/node_modules/resolve/package.json +13 -13
- data/node_modules/resolve/test/node-modules-paths.js +0 -22
- data/node_modules/resolve/test/resolver.js +11 -0
- data/node_modules/resolve/test/resolver_sync.js +11 -0
- data/node_modules/standard/node_modules/ms/index.js +2 -2
- data/node_modules/standard/node_modules/ms/package.json +205 -16
- data/node_modules/standard/node_modules/ms/readme.md +1 -1
- data/node_modules/type/CHANGELOG.md +62 -0
- data/node_modules/type/README.md +743 -0
- data/node_modules/type/array-length/coerce.js +10 -0
- data/node_modules/type/array-length/ensure.js +10 -0
- data/node_modules/type/array-like/ensure.js +9 -0
- data/node_modules/type/array-like/is.js +21 -0
- data/node_modules/type/array/ensure.js +9 -0
- data/node_modules/type/array/is.js +27 -0
- data/node_modules/type/date/ensure.js +9 -0
- data/node_modules/type/date/is.js +26 -0
- data/node_modules/type/error/ensure.js +9 -0
- data/node_modules/type/error/is.js +24 -0
- data/node_modules/type/finite/coerce.js +8 -0
- data/node_modules/type/finite/ensure.js +10 -0
- data/node_modules/type/function/ensure.js +9 -0
- data/node_modules/type/function/is.js +19 -0
- data/node_modules/type/integer/coerce.js +11 -0
- data/node_modules/type/integer/ensure.js +10 -0
- data/node_modules/type/iterable/ensure.js +9 -0
- data/node_modules/type/iterable/is.js +20 -0
- data/node_modules/type/lib/is-to-string-tag-supported.js +3 -0
- data/node_modules/type/lib/resolve-exception.js +21 -0
- data/node_modules/type/lib/safe-to-string.js +10 -0
- data/node_modules/type/lib/to-short-string.js +29 -0
- data/node_modules/type/natural-number/coerce.js +10 -0
- data/node_modules/type/natural-number/ensure.js +10 -0
- data/node_modules/type/number/coerce.js +14 -0
- data/node_modules/type/number/ensure.js +10 -0
- data/node_modules/type/object/ensure.js +9 -0
- data/node_modules/type/object/is.js +11 -0
- data/node_modules/type/package.json +159 -0
- data/node_modules/type/plain-function/ensure.js +9 -0
- data/node_modules/type/plain-function/is.js +11 -0
- data/node_modules/type/plain-object/ensure.js +9 -0
- data/node_modules/type/plain-object/is.js +28 -0
- data/node_modules/type/promise/ensure.js +9 -0
- data/node_modules/type/promise/is.js +27 -0
- data/node_modules/type/prototype/is.js +13 -0
- data/node_modules/type/reg-exp/ensure.js +9 -0
- data/node_modules/type/reg-exp/is.js +37 -0
- data/node_modules/type/safe-integer/coerce.js +13 -0
- data/node_modules/type/safe-integer/ensure.js +10 -0
- data/node_modules/type/string/coerce.js +23 -0
- data/node_modules/type/string/ensure.js +10 -0
- data/node_modules/type/test/_lib/arrow-function-if-supported.js +4 -0
- data/node_modules/type/test/_lib/class-if-supported.js +4 -0
- data/node_modules/type/test/array-length/coerce.js +47 -0
- data/node_modules/type/test/array-length/ensure.js +19 -0
- data/node_modules/type/test/array-like/ensure.js +24 -0
- data/node_modules/type/test/array-like/is.js +47 -0
- data/node_modules/type/test/array/ensure.js +20 -0
- data/node_modules/type/test/array/is.js +41 -0
- data/node_modules/type/test/date/ensure.js +20 -0
- data/node_modules/type/test/date/is.js +46 -0
- data/node_modules/type/test/error/ensure.js +20 -0
- data/node_modules/type/test/error/is.js +42 -0
- data/node_modules/type/test/finite/coerce.js +40 -0
- data/node_modules/type/test/finite/ensure.js +17 -0
- data/node_modules/type/test/function/ensure.js +20 -0
- data/node_modules/type/test/function/is.js +46 -0
- data/node_modules/type/test/integer/coerce.js +49 -0
- data/node_modules/type/test/integer/ensure.js +17 -0
- data/node_modules/type/test/iterable/ensure.js +24 -0
- data/node_modules/type/test/iterable/is.js +50 -0
- data/node_modules/type/test/lib/is-to-string-tag-supported.js +10 -0
- data/node_modules/type/test/lib/resolve-exception.js +39 -0
- data/node_modules/type/test/lib/safe-to-string.js +32 -0
- data/node_modules/type/test/lib/to-short-string.js +41 -0
- data/node_modules/type/test/natural-number/coerce.js +47 -0
- data/node_modules/type/test/natural-number/ensure.js +19 -0
- data/node_modules/type/test/number/coerce.js +40 -0
- data/node_modules/type/test/number/ensure.js +17 -0
- data/node_modules/type/test/object/ensure.js +20 -0
- data/node_modules/type/test/object/is.js +30 -0
- data/node_modules/type/test/plain-function/ensure.js +20 -0
- data/node_modules/type/test/plain-function/is.js +56 -0
- data/node_modules/type/test/plain-object/ensure.js +20 -0
- data/node_modules/type/test/plain-object/is.js +47 -0
- data/node_modules/type/test/promise/ensure.js +20 -0
- data/node_modules/type/test/promise/is.js +39 -0
- data/node_modules/type/test/prototype/is.js +39 -0
- data/node_modules/type/test/reg-exp/ensure.js +20 -0
- data/node_modules/type/test/reg-exp/is.js +47 -0
- data/node_modules/type/test/safe-integer/coerce.js +49 -0
- data/node_modules/type/test/safe-integer/ensure.js +19 -0
- data/node_modules/type/test/string/coerce.js +36 -0
- data/node_modules/type/test/string/ensure.js +17 -0
- data/node_modules/type/test/thenable/ensure.js +20 -0
- data/node_modules/type/test/thenable/is.js +44 -0
- data/node_modules/type/test/time-value/coerce.js +47 -0
- data/node_modules/type/test/time-value/ensure.js +17 -0
- data/node_modules/type/test/value/ensure.js +20 -0
- data/node_modules/type/test/value/is.js +29 -0
- data/node_modules/type/thenable/ensure.js +9 -0
- data/node_modules/type/thenable/is.js +9 -0
- data/node_modules/type/time-value/coerce.js +12 -0
- data/node_modules/type/time-value/ensure.js +10 -0
- data/node_modules/type/value/ensure.js +9 -0
- data/node_modules/type/value/is.js +6 -0
- metadata +118 -21
- data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-navigation.scss +0 -94
- data/node_modules/resolve/reaf +0 -0
- data/node_modules/resolve/test/shadowed_core.js +0 -38
- data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var coerceToInteger = require("../integer/coerce");
|
4
|
+
|
5
|
+
var abs = Math.abs;
|
6
|
+
|
7
|
+
module.exports = function (value) {
|
8
|
+
value = coerceToInteger(value);
|
9
|
+
if (!value) return value;
|
10
|
+
if (abs(value) > 8.64e15) return null;
|
11
|
+
return value;
|
12
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var resolveException = require("../lib/resolve-exception")
|
4
|
+
, coerce = require("./coerce");
|
5
|
+
|
6
|
+
module.exports = function (value/*, options*/) {
|
7
|
+
var coerced = coerce(value);
|
8
|
+
if (coerced !== null) return coerced;
|
9
|
+
return resolveException(value, "%v is not a time value", arguments[1]);
|
10
|
+
};
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 17.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 3.22.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 3.22.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: foreman
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,47 +235,47 @@ dependencies:
|
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: 2.4.0
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
238
|
+
name: pry-byebug
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- - "
|
241
|
+
- - ">="
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
243
|
+
version: '0'
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- - "
|
248
|
+
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: '
|
250
|
+
version: '0'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
252
|
+
name: rspec-rails
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
|
-
- - "
|
255
|
+
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
257
|
+
version: '3.6'
|
258
258
|
type: :development
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- - "
|
262
|
+
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version:
|
264
|
+
version: '3.6'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
|
-
name:
|
266
|
+
name: uglifier
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
269
|
- - ">="
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version:
|
271
|
+
version: 1.3.0
|
272
272
|
type: :development
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
276
|
- - ">="
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
278
|
+
version: 1.3.0
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: webmock
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -422,7 +422,6 @@ files:
|
|
422
422
|
- app/assets/stylesheets/govuk_publishing_components/components/_table.scss
|
423
423
|
- app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
|
424
424
|
- app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-list.scss
|
425
|
-
- app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-navigation.scss
|
426
425
|
- app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss
|
427
426
|
- app/assets/stylesheets/govuk_publishing_components/components/_title.scss
|
428
427
|
- app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
|
@@ -1565,6 +1564,7 @@ files:
|
|
1565
1564
|
- node_modules/cross-spawn/lib/util/readShebang.js
|
1566
1565
|
- node_modules/cross-spawn/lib/util/resolveCommand.js
|
1567
1566
|
- node_modules/cross-spawn/package.json
|
1567
|
+
- node_modules/d/CHANGELOG.md
|
1568
1568
|
- node_modules/d/CHANGES
|
1569
1569
|
- node_modules/d/LICENSE
|
1570
1570
|
- node_modules/d/README.md
|
@@ -2614,6 +2614,7 @@ files:
|
|
2614
2614
|
- node_modules/es6-symbol/test/polyfill.js
|
2615
2615
|
- node_modules/es6-symbol/test/validate-symbol.js
|
2616
2616
|
- node_modules/es6-symbol/validate-symbol.js
|
2617
|
+
- node_modules/es6-weak-map/CHANGELOG.md
|
2617
2618
|
- node_modules/es6-weak-map/CHANGES
|
2618
2619
|
- node_modules/es6-weak-map/LICENSE
|
2619
2620
|
- node_modules/es6-weak-map/README.md
|
@@ -5786,7 +5787,6 @@ files:
|
|
5786
5787
|
- node_modules/resolve/lib/sync.js
|
5787
5788
|
- node_modules/resolve/package.json
|
5788
5789
|
- node_modules/resolve/readme.markdown
|
5789
|
-
- node_modules/resolve/reaf
|
5790
5790
|
- node_modules/resolve/test/core.js
|
5791
5791
|
- node_modules/resolve/test/dotdot.js
|
5792
5792
|
- node_modules/resolve/test/dotdot/abc/index.js
|
@@ -5848,8 +5848,6 @@ files:
|
|
5848
5848
|
- node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js
|
5849
5849
|
- node_modules/resolve/test/resolver/without_basedir/main.js
|
5850
5850
|
- node_modules/resolve/test/resolver_sync.js
|
5851
|
-
- node_modules/resolve/test/shadowed_core.js
|
5852
|
-
- node_modules/resolve/test/shadowed_core/node_modules/util/index.js
|
5853
5851
|
- node_modules/resolve/test/subdirs.js
|
5854
5852
|
- node_modules/resolve/test/symlinks.js
|
5855
5853
|
- node_modules/restore-cursor/index.js
|
@@ -10614,6 +10612,105 @@ files:
|
|
10614
10612
|
- node_modules/type-check/lib/index.js
|
10615
10613
|
- node_modules/type-check/lib/parse-type.js
|
10616
10614
|
- node_modules/type-check/package.json
|
10615
|
+
- node_modules/type/CHANGELOG.md
|
10616
|
+
- node_modules/type/README.md
|
10617
|
+
- node_modules/type/array-length/coerce.js
|
10618
|
+
- node_modules/type/array-length/ensure.js
|
10619
|
+
- node_modules/type/array-like/ensure.js
|
10620
|
+
- node_modules/type/array-like/is.js
|
10621
|
+
- node_modules/type/array/ensure.js
|
10622
|
+
- node_modules/type/array/is.js
|
10623
|
+
- node_modules/type/date/ensure.js
|
10624
|
+
- node_modules/type/date/is.js
|
10625
|
+
- node_modules/type/error/ensure.js
|
10626
|
+
- node_modules/type/error/is.js
|
10627
|
+
- node_modules/type/finite/coerce.js
|
10628
|
+
- node_modules/type/finite/ensure.js
|
10629
|
+
- node_modules/type/function/ensure.js
|
10630
|
+
- node_modules/type/function/is.js
|
10631
|
+
- node_modules/type/integer/coerce.js
|
10632
|
+
- node_modules/type/integer/ensure.js
|
10633
|
+
- node_modules/type/iterable/ensure.js
|
10634
|
+
- node_modules/type/iterable/is.js
|
10635
|
+
- node_modules/type/lib/is-to-string-tag-supported.js
|
10636
|
+
- node_modules/type/lib/resolve-exception.js
|
10637
|
+
- node_modules/type/lib/safe-to-string.js
|
10638
|
+
- node_modules/type/lib/to-short-string.js
|
10639
|
+
- node_modules/type/natural-number/coerce.js
|
10640
|
+
- node_modules/type/natural-number/ensure.js
|
10641
|
+
- node_modules/type/number/coerce.js
|
10642
|
+
- node_modules/type/number/ensure.js
|
10643
|
+
- node_modules/type/object/ensure.js
|
10644
|
+
- node_modules/type/object/is.js
|
10645
|
+
- node_modules/type/package.json
|
10646
|
+
- node_modules/type/plain-function/ensure.js
|
10647
|
+
- node_modules/type/plain-function/is.js
|
10648
|
+
- node_modules/type/plain-object/ensure.js
|
10649
|
+
- node_modules/type/plain-object/is.js
|
10650
|
+
- node_modules/type/promise/ensure.js
|
10651
|
+
- node_modules/type/promise/is.js
|
10652
|
+
- node_modules/type/prototype/is.js
|
10653
|
+
- node_modules/type/reg-exp/ensure.js
|
10654
|
+
- node_modules/type/reg-exp/is.js
|
10655
|
+
- node_modules/type/safe-integer/coerce.js
|
10656
|
+
- node_modules/type/safe-integer/ensure.js
|
10657
|
+
- node_modules/type/string/coerce.js
|
10658
|
+
- node_modules/type/string/ensure.js
|
10659
|
+
- node_modules/type/test/_lib/arrow-function-if-supported.js
|
10660
|
+
- node_modules/type/test/_lib/class-if-supported.js
|
10661
|
+
- node_modules/type/test/array-length/coerce.js
|
10662
|
+
- node_modules/type/test/array-length/ensure.js
|
10663
|
+
- node_modules/type/test/array-like/ensure.js
|
10664
|
+
- node_modules/type/test/array-like/is.js
|
10665
|
+
- node_modules/type/test/array/ensure.js
|
10666
|
+
- node_modules/type/test/array/is.js
|
10667
|
+
- node_modules/type/test/date/ensure.js
|
10668
|
+
- node_modules/type/test/date/is.js
|
10669
|
+
- node_modules/type/test/error/ensure.js
|
10670
|
+
- node_modules/type/test/error/is.js
|
10671
|
+
- node_modules/type/test/finite/coerce.js
|
10672
|
+
- node_modules/type/test/finite/ensure.js
|
10673
|
+
- node_modules/type/test/function/ensure.js
|
10674
|
+
- node_modules/type/test/function/is.js
|
10675
|
+
- node_modules/type/test/integer/coerce.js
|
10676
|
+
- node_modules/type/test/integer/ensure.js
|
10677
|
+
- node_modules/type/test/iterable/ensure.js
|
10678
|
+
- node_modules/type/test/iterable/is.js
|
10679
|
+
- node_modules/type/test/lib/is-to-string-tag-supported.js
|
10680
|
+
- node_modules/type/test/lib/resolve-exception.js
|
10681
|
+
- node_modules/type/test/lib/safe-to-string.js
|
10682
|
+
- node_modules/type/test/lib/to-short-string.js
|
10683
|
+
- node_modules/type/test/natural-number/coerce.js
|
10684
|
+
- node_modules/type/test/natural-number/ensure.js
|
10685
|
+
- node_modules/type/test/number/coerce.js
|
10686
|
+
- node_modules/type/test/number/ensure.js
|
10687
|
+
- node_modules/type/test/object/ensure.js
|
10688
|
+
- node_modules/type/test/object/is.js
|
10689
|
+
- node_modules/type/test/plain-function/ensure.js
|
10690
|
+
- node_modules/type/test/plain-function/is.js
|
10691
|
+
- node_modules/type/test/plain-object/ensure.js
|
10692
|
+
- node_modules/type/test/plain-object/is.js
|
10693
|
+
- node_modules/type/test/promise/ensure.js
|
10694
|
+
- node_modules/type/test/promise/is.js
|
10695
|
+
- node_modules/type/test/prototype/is.js
|
10696
|
+
- node_modules/type/test/reg-exp/ensure.js
|
10697
|
+
- node_modules/type/test/reg-exp/is.js
|
10698
|
+
- node_modules/type/test/safe-integer/coerce.js
|
10699
|
+
- node_modules/type/test/safe-integer/ensure.js
|
10700
|
+
- node_modules/type/test/string/coerce.js
|
10701
|
+
- node_modules/type/test/string/ensure.js
|
10702
|
+
- node_modules/type/test/thenable/ensure.js
|
10703
|
+
- node_modules/type/test/thenable/is.js
|
10704
|
+
- node_modules/type/test/time-value/coerce.js
|
10705
|
+
- node_modules/type/test/time-value/ensure.js
|
10706
|
+
- node_modules/type/test/value/ensure.js
|
10707
|
+
- node_modules/type/test/value/is.js
|
10708
|
+
- node_modules/type/thenable/ensure.js
|
10709
|
+
- node_modules/type/thenable/is.js
|
10710
|
+
- node_modules/type/time-value/coerce.js
|
10711
|
+
- node_modules/type/time-value/ensure.js
|
10712
|
+
- node_modules/type/value/ensure.js
|
10713
|
+
- node_modules/type/value/is.js
|
10617
10714
|
- node_modules/typedarray/LICENSE
|
10618
10715
|
- node_modules/typedarray/example/tarray.js
|
10619
10716
|
- node_modules/typedarray/index.js
|
data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-navigation.scss
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
.gem-c-taxonomy-navigation {
|
2
|
-
@include govuk-text-colour;
|
3
|
-
@include core-16;
|
4
|
-
border-top: 2px solid $govuk-blue;
|
5
|
-
padding-top: $gutter-half;
|
6
|
-
|
7
|
-
// FIXME: These styles can be removed once new
|
8
|
-
// taxonomy template code is populated across all
|
9
|
-
// application caches.
|
10
|
-
h2 {
|
11
|
-
margin-bottom: .5em;
|
12
|
-
}
|
13
|
-
|
14
|
-
.taxon-description {
|
15
|
-
margin-bottom: .75em;
|
16
|
-
}
|
17
|
-
|
18
|
-
ul {
|
19
|
-
// reset the default browser styles
|
20
|
-
padding: 0;
|
21
|
-
margin: 0;
|
22
|
-
list-style: none;
|
23
|
-
margin-bottom: 1.25em;
|
24
|
-
|
25
|
-
li {
|
26
|
-
// reset the default browser styles
|
27
|
-
padding: 0;
|
28
|
-
margin-bottom: .75em;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
// END FIXME
|
32
|
-
}
|
33
|
-
|
34
|
-
.gem-c-taxonomy-navigation__heading {
|
35
|
-
@include bold-19;
|
36
|
-
margin-bottom: $gutter-one-third;
|
37
|
-
margin-top: 0;
|
38
|
-
}
|
39
|
-
|
40
|
-
.gem-c-taxonomy-navigation__taxon-description {
|
41
|
-
margin-bottom: $gutter-one-third;
|
42
|
-
margin-top: 0;
|
43
|
-
}
|
44
|
-
|
45
|
-
.gem-c-taxonomy-navigation__navigation {
|
46
|
-
margin-bottom: $gutter;
|
47
|
-
}
|
48
|
-
|
49
|
-
.gem-c-taxonomy-navigation__list {
|
50
|
-
list-style: none;
|
51
|
-
margin: 0;
|
52
|
-
margin-bottom: 1.25em;
|
53
|
-
padding: 0;
|
54
|
-
}
|
55
|
-
|
56
|
-
.gem-c-taxonomy-navigation__item {
|
57
|
-
list-style-type: none;
|
58
|
-
margin-bottom: $gutter-one-third;
|
59
|
-
padding: 0;
|
60
|
-
}
|
61
|
-
|
62
|
-
.gem-c-taxonomy-navigation__link {
|
63
|
-
@extend %govuk-link;
|
64
|
-
text-decoration: none;
|
65
|
-
}
|
66
|
-
|
67
|
-
.gem-c-taxonomy-navigation__toggle {
|
68
|
-
@extend %govuk-link;
|
69
|
-
display: none;
|
70
|
-
|
71
|
-
.js-enabled & {
|
72
|
-
display: block;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
.gem-c-taxonomy-navigation__toggle-more.js-hidden {
|
77
|
-
.js-enabled & {
|
78
|
-
display: none;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
.gem-c-taxonomy-navigation__section-heading {
|
83
|
-
@include core-16;
|
84
|
-
border-top: 1px solid $border-colour;
|
85
|
-
margin-bottom: $gutter-half;
|
86
|
-
margin-top: $gutter;
|
87
|
-
padding-top: $gutter-half;
|
88
|
-
}
|
89
|
-
|
90
|
-
.gem-c-taxonomy-navigation__section-link {
|
91
|
-
@extend %govuk-link;
|
92
|
-
@include bold-19;
|
93
|
-
text-decoration: none;
|
94
|
-
}
|
data/node_modules/resolve/reaf
DELETED
File without changes
|
@@ -1,38 +0,0 @@
|
|
1
|
-
var test = require('tape');
|
2
|
-
var resolve = require('../');
|
3
|
-
var path = require('path');
|
4
|
-
|
5
|
-
test('shadowed core modules still return core module', function (t) {
|
6
|
-
t.plan(2);
|
7
|
-
|
8
|
-
resolve('util', { basedir: path.join(__dirname, 'shadowed_core') }, function (err, res) {
|
9
|
-
t.ifError(err);
|
10
|
-
t.equal(res, 'util');
|
11
|
-
});
|
12
|
-
});
|
13
|
-
|
14
|
-
test('shadowed core modules still return core module [sync]', function (t) {
|
15
|
-
t.plan(1);
|
16
|
-
|
17
|
-
var res = resolve.sync('util', { basedir: path.join(__dirname, 'shadowed_core') });
|
18
|
-
|
19
|
-
t.equal(res, 'util');
|
20
|
-
});
|
21
|
-
|
22
|
-
test('shadowed core modules return shadow when appending `/`', function (t) {
|
23
|
-
t.plan(2);
|
24
|
-
|
25
|
-
resolve('util/', { basedir: path.join(__dirname, 'shadowed_core') }, function (err, res) {
|
26
|
-
t.ifError(err);
|
27
|
-
t.equal(res, path.join(__dirname, 'shadowed_core/node_modules/util/index.js'));
|
28
|
-
});
|
29
|
-
});
|
30
|
-
|
31
|
-
test('shadowed core modules return shadow when appending `/` [sync]', function (t) {
|
32
|
-
t.plan(1);
|
33
|
-
|
34
|
-
var res = resolve.sync('util/', { basedir: path.join(__dirname, 'shadowed_core') });
|
35
|
-
|
36
|
-
t.equal(res, path.join(__dirname, 'shadowed_core/node_modules/util/index.js'));
|
37
|
-
});
|
38
|
-
|
File without changes
|