govuk_publishing_components 17.11.0 → 17.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,11 +4,7 @@ var path = require('path');
4
4
  var fs = require('fs');
5
5
  var acorn = require('./acorn.js');
6
6
 
7
- var infile;
8
- var forceFile;
9
- var silent = false;
10
- var compact = false;
11
- var tokenize = false;
7
+ var infile, forceFile, silent = false, compact = false, tokenize = false;
12
8
  var options = {};
13
9
 
14
10
  function help(status) {
@@ -45,14 +41,14 @@ function run(code) {
45
41
  result = acorn.parse(code, options);
46
42
  } else {
47
43
  result = [];
48
- var tokenizer$$1 = acorn.tokenizer(code, options), token;
44
+ var tokenizer = acorn.tokenizer(code, options), token;
49
45
  do {
50
- token = tokenizer$$1.getToken();
46
+ token = tokenizer.getToken();
51
47
  result.push(token);
52
48
  } while (token.type !== acorn.tokTypes.eof)
53
49
  }
54
50
  } catch (e) {
55
- console.error(e.message);
51
+ console.error(infile && infile !== "-" ? e.message.replace(/\(\d+:\d+\)$/, function (m) { return m.slice(0, 1) + infile + " " + m.slice(1); }) : e.message);
56
52
  process.exit(1);
57
53
  }
58
54
  if (!silent) { console.log(JSON.stringify(result, null, compact ? null : 2)); }
@@ -15,19 +15,19 @@
15
15
  ],
16
16
  "_from": "acorn@>=6.0.2 <7.0.0",
17
17
  "_hasShrinkwrap": false,
18
- "_id": "acorn@6.1.1",
18
+ "_id": "acorn@6.2.0",
19
19
  "_inCache": true,
20
20
  "_location": "/standard/acorn",
21
21
  "_nodeVersion": "10.11.0",
22
22
  "_npmOperationalInternal": {
23
23
  "host": "s3://npm-registry-packages",
24
- "tmp": "tmp/acorn_6.1.1_1551251518361_0.6006501128068276"
24
+ "tmp": "tmp/acorn_6.2.0_1562221085482_0.4827654225641429"
25
25
  },
26
26
  "_npmUser": {
27
27
  "name": "marijn",
28
28
  "email": "marijnh@gmail.com"
29
29
  },
30
- "_npmVersion": "6.8.0",
30
+ "_npmVersion": "6.9.0",
31
31
  "_phantomChildren": {},
32
32
  "_requested": {
33
33
  "raw": "acorn@^6.0.2",
@@ -41,8 +41,8 @@
41
41
  "_requiredBy": [
42
42
  "/standard/espree"
43
43
  ],
44
- "_resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz",
45
- "_shasum": "7d25ae05bb8ad1f9b699108e1094ecd7884adc1f",
44
+ "_resolved": "https://registry.npmjs.org/acorn/-/acorn-6.2.0.tgz",
45
+ "_shasum": "67f0da2fc339d6cfb5d6fb244fd449f33cd8bbe3",
46
46
  "_shrinkwrap": null,
47
47
  "_spec": "acorn@^6.0.2",
48
48
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ/node_modules/standard/node_modules/espree",
@@ -57,12 +57,12 @@
57
57
  "devDependencies": {},
58
58
  "directories": {},
59
59
  "dist": {
60
- "integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==",
61
- "shasum": "7d25ae05bb8ad1f9b699108e1094ecd7884adc1f",
62
- "tarball": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz",
60
+ "integrity": "sha512-8oe72N3WPMjA+2zVG71Ia0nXZ8DpQH+QyyHO+p06jT8eg8FGG3FbcUIi8KziHlAfheJQZeoqbvq1mQSQHXKYLw==",
61
+ "shasum": "67f0da2fc339d6cfb5d6fb244fd449f33cd8bbe3",
62
+ "tarball": "https://registry.npmjs.org/acorn/-/acorn-6.2.0.tgz",
63
63
  "fileCount": 11,
64
- "unpackedSize": 1093303,
65
- "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdjg+CRA9TVsSAnZWagAAC+MP/2SQsjq8ZT2iE9YbQk1a\n8deLcHgSIHNtxMe0mEguVCQDYpxSHlO8WWrFRSKc/Dkt15+48+QxLX7okDeF\nFEwsw5Ig3uRKtybi59nQGevinPptiXQKGkNqXcxM+kl+XHu7GOdLj/678ipO\n7GmkZP0Icn5YYo/ylm9Cw2kBMjyFaaLC+x2ZRT/J8IyqSZBLIdtysBwyU3Sb\no7DQxc2mUXACTRb2ojE9/hXyKAA63S093bSowzdFafsnoBK/w7HURpKaRSlW\nAHSAkj8yhrEpIW6QGzVAdOFeHwhrLrfPredZ8imDJ660FCvUrsxLhVMWVOYc\nRKkBB4luy0O8/zRjiG6PFqP5VqrRro8YBrhYXgJH850flHgabgLCxl+AoTjA\n8I5/yiA80BMApYJaDn/mgjj+TM0cMmLeSLFCL5lNolvYpDa7kD3RYIqP/DyB\nVyz0aO6PVeE/Z3CNurA6UjmggIApEzzYd0re+3qb4qBRnhHiklSNjfHL1wHc\nZLi2fki9cvLIwc3krpgFbid+x/QXlQVOgL62O4XAfks0V/XuyHQNoPsURtBA\nBwh3PYuxG2e/Gzcb4FH0QqH8focaJlwNozH7bzP/NcpvErKFsHV6l3omeZ+n\nyP8Yufnks565tYwjOl+eCQ2AYtr+IupOJqvv346/EpJ/kRQwlGDwJhTbUVtS\nX2oa\r\n=6nWg\r\n-----END PGP SIGNATURE-----\r\n"
64
+ "unpackedSize": 1101068,
65
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHZoeCRA9TVsSAnZWagAACg0QAIkzx1iLle/hLCQMoVCk\nyIoaXVKSP4F94Gc/RDeWDZG6KLDYpVOTmGqGSDCp+GEKrq0jn2sF7JEmCP9W\nplHLEH2IhRdLSyDOVcsbPFP5PYa1A4jZ2E9/BLoKADgf2ObL8wRJ67AUpoE2\nkQ74IdSGoa1PzIC+94D1v8ur476taU7xd0lv26mDzW75hme+4wl9AR3OlDqW\nfSeHQG37BImyJviHkV3XM1ZOgHmfoR/64JozViiaizjtGddsF+g43tewbcU1\nR007FOxJYCNLm5P8Css7/0X+IJlqmFfmbzkwFmbfgLtFazhsaA73nffoNpyk\nnX7iwQtePyxzRlVQPd+EtXzYLEHJ9Pw7coB1ySfxOpx+V03LpTFtt3jGMnPR\nYQr5a96Hw3gwHSFtaVzilPiyDJmYCKeo8qVjyV3RqxnAF7562WH1Lze6cDUd\nkTzPgRBgplmGUx+DYFyZsbqzoDfur200fRzO5izDwN5/Ul1E1rfTQaKRViFQ\nK9lQyHpw9tL0yDOrEM4H0XBEWaAMc+9yBtSh1/rERfIkt1MnzREatcmUpZCZ\nlcqiSJvACpY7JT6GJdpaHpl0X75hUE2jMUGWWUe5OPZU5Ud+QevupcHvBjlA\n6VZiXNlwjcMgisCflrAwPmupEpiLJ1L+8fJKog/IicWd9SKwDQe6uZAPcEYg\ncoJQ\r\n=VIQ2\r\n-----END PGP SIGNATURE-----\r\n"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=0.4.0"
@@ -95,5 +95,5 @@
95
95
  "scripts": {
96
96
  "prepare": "cd ..; npm run build:main && npm run build:bin"
97
97
  },
98
- "version": "6.1.1"
98
+ "version": "6.2.0"
99
99
  }
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: 17.11.0
4
+ version: 17.12.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-07-01 00:00:00.000000000 Z
11
+ date: 2019-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 3.22.0
145
+ version: '3.25'
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: 3.22.0
152
+ version: '3.25'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: foreman
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0.64'
159
+ version: '0.85'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0.64'
166
+ version: '0.85'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: gds-api-adapters
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -212,28 +212,28 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 0.4.3
215
+ version: '1'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 0.4.3
222
+ version: '1'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: jasmine
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 2.4.0
229
+ version: 3.4.0
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 2.4.0
236
+ version: 3.4.0
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: pry-byebug
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -254,42 +254,42 @@ dependencies:
254
254
  requirements:
255
255
  - - "~>"
256
256
  - !ruby/object:Gem::Version
257
- version: '3.6'
257
+ version: '3.8'
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: '3.6'
264
+ version: '3.8'
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: uglifier
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
269
  - - ">="
270
270
  - !ruby/object:Gem::Version
271
- version: 1.3.0
271
+ version: 4.1.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: 1.3.0
278
+ version: 4.1.0
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: webmock
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: 3.5.0
285
+ version: 3.6.0
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: 3.5.0
292
+ version: 3.6.0
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: yard
295
295
  requirement: !ruby/object:Gem::Requirement