@percy/cli-snapshot 1.10.2 → 1.10.4

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.
package/dist/config.js CHANGED
@@ -38,42 +38,5 @@ export function configMigration(config, util) {
38
38
  util.map('staticSnapshots.snapshotFiles', 'static.include');
39
39
  util.map('staticSnapshots.ignoreFiles', 'static.exclude');
40
40
  util.del('staticSnapshots');
41
- } else {
42
- let notice = {
43
- type: 'config',
44
- until: '1.0.0'
45
- }; // static files and ignore options were renamed
46
-
47
- util.deprecate('static.files', {
48
- map: 'static.include',
49
- ...notice
50
- });
51
- util.deprecate('static.ignore', {
52
- map: 'static.exclude',
53
- ...notice
54
- }); // static and sitemap option overrides were renamed
55
-
56
- util.deprecate('static.overrides', {
57
- map: 'static.options',
58
- ...notice
59
- });
60
- util.deprecate('sitemap.overrides', {
61
- map: 'sitemap.options',
62
- ...notice
63
- });
64
-
65
- for (let i in ((_config$static = config.static) === null || _config$static === void 0 ? void 0 : _config$static.options) || []) {
66
- var _config$static;
67
-
68
- let k = `static.options[${i}]`;
69
- util.deprecate(`${k}.files`, {
70
- map: `${k}.include`,
71
- ...notice
72
- });
73
- util.deprecate(`${k}.ignore`, {
74
- map: `${k}.exclude`,
75
- ...notice
76
- });
77
- }
78
41
  }
79
42
  }
package/dist/snapshot.js CHANGED
@@ -36,17 +36,6 @@ export const snapshot = command('snapshot', {
36
36
  description: 'Rewrite static index and filepath URLs to be clean',
37
37
  percyrc: 'static.cleanUrls',
38
38
  group: 'Static'
39
- }, {
40
- // deprecated
41
- name: 'files',
42
- deprecated: ['1.0.0', '--include'],
43
- percyrc: 'static.include',
44
- type: 'pattern'
45
- }, {
46
- name: 'ignore',
47
- deprecated: ['1.0.0', '--exclude'],
48
- percyrc: 'static.exclude',
49
- type: 'pattern'
50
39
  }],
51
40
  examples: ['$0 ./public', '$0 snapshots.yml', '$0 https://percy.io/sitemap.xml'],
52
41
  percy: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/cli-snapshot",
3
- "version": "1.10.2",
3
+ "version": "1.10.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,8 +32,8 @@
32
32
  ]
33
33
  },
34
34
  "dependencies": {
35
- "@percy/cli-command": "1.10.2",
35
+ "@percy/cli-command": "1.10.4",
36
36
  "yaml": "^2.0.0"
37
37
  },
38
- "gitHead": "66527175cdac3848157be7dd8368f5845d98e77e"
38
+ "gitHead": "16a9a410bfcb8eab51b86a08cff12d8d35e4747e"
39
39
  }