@percy/core 1.19.2-alpha.0 → 1.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +34 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -276,3 +276,37 @@ environment variable.
276
276
 
277
277
  > **Warning!** Percy is only tested against the browser it downloads automatically. When providing a
278
278
  > custom browser executable, you may experience unexpected issues.
279
+
280
+
281
+ ### How to update Chromium revision?
282
+
283
+ `src/install.js`
284
+
285
+ ```js
286
+ chromium.revisions = {
287
+ linux: '.*',
288
+ win64: '.*',
289
+ win32: '.*',
290
+ darwin: '.*',
291
+ darwinArm: '.*'
292
+ };
293
+ ```
294
+
295
+ Nicely summarised in this [stackoverflow](https://stackoverflow.com/a/56366776) answer.
296
+
297
+ ### Excerpt
298
+
299
+ check the [release information on Github](https://github.com/GoogleChrome/puppeteer/releases) where the expected Chromium version and revision is specified.
300
+ For example:
301
+
302
+ > [v1.17.0](https://github.com/GoogleChrome/puppeteer/releases/tag/v1.17.0)
303
+ Big Changes
304
+ Chromium 76.0.3803.0 (r662092)
305
+
306
+ 1. Go to [Chromium browser snapshots](https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html)
307
+
308
+ 2. Choose the directory of your platform (e.g., `Linux_x64`)
309
+
310
+ 3. Copy the revision number into the "Filter:" field without the "r" (e.g., `662092`)
311
+
312
+ 4. Fetch revision number for rest of the platform (`Win`, `Win_x64`, `Mac`, `Mac_Arm`), it should be nearby (Tip: verify the date of upload).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/core",
3
- "version": "1.19.2-alpha.0",
3
+ "version": "1.19.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,10 +39,10 @@
39
39
  "test:types": "tsd"
40
40
  },
41
41
  "dependencies": {
42
- "@percy/client": "1.19.2-alpha.0",
43
- "@percy/config": "1.19.2-alpha.0",
44
- "@percy/dom": "1.19.2-alpha.0",
45
- "@percy/logger": "1.19.2-alpha.0",
42
+ "@percy/client": "1.19.2",
43
+ "@percy/config": "1.19.2",
44
+ "@percy/dom": "1.19.2",
45
+ "@percy/logger": "1.19.2",
46
46
  "content-disposition": "^0.5.4",
47
47
  "cross-spawn": "^7.0.3",
48
48
  "extract-zip": "^2.0.1",
@@ -53,5 +53,5 @@
53
53
  "rimraf": "^3.0.2",
54
54
  "ws": "^8.0.0"
55
55
  },
56
- "gitHead": "d9bf82889731f5cdc3f7fa4fe836cc5232ee8fb6"
56
+ "gitHead": "609ae53aa84ab2f7054a21214b36dccd71025780"
57
57
  }