@adobe/sizewatcher 1.4.0 → 1.4.1

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/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  [![Version](https://img.shields.io/npm/v/@adobe/sizewatcher.svg)](https://npmjs.org/package/@adobe/sizewatcher)
2
2
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
3
3
  [![Coverage Status](https://coveralls.io/repos/github/adobe/sizewatcher/badge.svg)](https://coveralls.io/github/adobe/sizewatcher)
4
- [![Travis](https://travis-ci.com/adobe/sizewatcher.svg?branch=main)](https://travis-ci.com/adobe/sizewatcher)
5
4
  [![CircleCI](https://circleci.com/gh/adobe/sizewatcher.svg?style=shield)](https://circleci.com/gh/adobe/sizewatcher)
6
5
  [![Github Actions Node.js CI Status](https://github.com/adobe/sizewatcher/workflows/Node.js%20CI/badge.svg)](https://github.com/adobe/sizewatcher/actions?query=workflow%3A%22Node.js+CI%22)
7
6
  [![CodeQL Status](https://github.com/adobe/sizewatcher/workflows/CodeQL/badge.svg)](https://github.com/adobe/sizewatcher/actions?query=workflow%3ACodeQL)
@@ -512,13 +511,13 @@ Configuration: supports `dir`
512
511
 
513
512
  ### npm_package
514
513
 
515
- Compares the size of an npm package tarball by running `npm publish --dry-run`.
514
+ Compares the size of an npm package tarball by running `npm pack --dry-run`.
516
515
 
517
516
  Name: `npm_package`
518
517
 
519
518
  Trigger: Runs if a `package.json` is found.
520
519
 
521
- Details: Prints the package contents and metadata using the output of `npm publish --dry-run`.
520
+ Details: Prints the package contents and metadata using the output of `npm pack --dry-run`.
522
521
 
523
522
  ---
524
523
  Package contents:
@@ -30,8 +30,8 @@ async function getSize(dir) {
30
30
  };
31
31
  }
32
32
 
33
- debug(`running npm publish --dry-run inside ${dir}...`);
34
- let { stderr } = await exec("npm publish --dry-run", { cwd: dir });
33
+ debug(`running npm pack --dry-run inside ${dir}...`);
34
+ let { stderr } = await exec("npm pack --dry-run", { cwd: dir });
35
35
 
36
36
  stderr = stderr.replace(/npm notice /g, "");
37
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/sizewatcher",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Warns if your pull requests introduce large size increases.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -39,18 +39,18 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@octokit/rest": "19.0.3",
42
- "debug": "4.4.0",
42
+ "debug": "4.4.3",
43
43
  "deepmerge": "4.3.1",
44
44
  "get-folder-size": "5.0.0",
45
45
  "glob": "10.3.5",
46
- "js-yaml": "4.1.0",
46
+ "js-yaml": "4.1.1",
47
47
  "pretty-bytes": "5.6.0",
48
48
  "require-dir": "1.2.0",
49
49
  "simple-git": "3.22.0",
50
- "tmp": "0.2.3",
50
+ "tmp": "0.2.5",
51
51
  "xbytes": "1.9.1"
52
52
  },
53
53
  "overrides": {
54
- "whatwg-url": "^14.0.0"
54
+ "whatwg-url": "14.2.0"
55
55
  }
56
56
  }