@code-pushup/js-packages-plugin 0.52.0 → 0.53.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.
Files changed (3) hide show
  1. package/bin.js +1 -1
  2. package/index.js +2 -2
  3. package/package.json +31 -11
package/bin.js CHANGED
@@ -16,7 +16,7 @@ var MAX_ISSUE_MESSAGE_LENGTH = 1024;
16
16
  var slugRegex = /^[a-z\d]+(?:-[a-z\d]+)*$/;
17
17
  var filenameRegex = /^(?!.*[ \\/:*?"<>|]).+$/;
18
18
  function hasDuplicateStrings(strings) {
19
- const sortedStrings = [...strings].sort();
19
+ const sortedStrings = strings.toSorted();
20
20
  const duplStrings = sortedStrings.filter(
21
21
  (item, index) => index !== 0 && item === sortedStrings[index - 1]
22
22
  );
package/index.js CHANGED
@@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url";
4
4
 
5
5
  // packages/plugin-js-packages/package.json
6
6
  var name = "@code-pushup/js-packages-plugin";
7
- var version = "0.52.0";
7
+ var version = "0.53.1";
8
8
 
9
9
  // packages/plugin-js-packages/src/lib/config.ts
10
10
  import { z as z17 } from "zod";
@@ -23,7 +23,7 @@ var MAX_ISSUE_MESSAGE_LENGTH = 1024;
23
23
  var slugRegex = /^[a-z\d]+(?:-[a-z\d]+)*$/;
24
24
  var filenameRegex = /^(?!.*[ \\/:*?"<>|]).+$/;
25
25
  function hasDuplicateStrings(strings) {
26
- const sortedStrings = [...strings].sort();
26
+ const sortedStrings = strings.toSorted();
27
27
  const duplStrings = sortedStrings.filter(
28
28
  (item, index) => index !== 0 && item === sortedStrings[index - 1]
29
29
  );
package/package.json CHANGED
@@ -1,28 +1,48 @@
1
1
  {
2
2
  "name": "@code-pushup/js-packages-plugin",
3
- "version": "0.52.0",
3
+ "version": "0.53.1",
4
4
  "description": "Code PushUp plugin for JavaScript packages 🛡️",
5
- "dependencies": {
6
- "@code-pushup/models": "0.52.0",
7
- "@code-pushup/utils": "0.52.0",
8
- "build-md": "^0.4.1",
9
- "semver": "^7.6.0",
10
- "zod": "^3.22.4"
11
- },
12
5
  "license": "MIT",
13
6
  "homepage": "https://github.com/code-pushup/cli/tree/main/packages/plugin-js-packages#readme",
14
7
  "bugs": {
15
- "url": "https://github.com/code-pushup/cli/issues"
8
+ "url": "https://github.com/code-pushup/cli/issues?q=is%3Aissue%20state%3Aopen%20type%3ABug%20label%3A\"🧩%20js-packages-plugin\""
16
9
  },
17
10
  "repository": {
18
11
  "type": "git",
19
12
  "url": "git+https://github.com/code-pushup/cli.git",
20
13
  "directory": "packages/plugin-js-packages"
21
14
  },
15
+ "keywords": [
16
+ "CLI",
17
+ "Code PushUp",
18
+ "developer tools",
19
+ "dependencies",
20
+ "audit",
21
+ "outdated",
22
+ "security",
23
+ "updates",
24
+ "npm",
25
+ "yarn",
26
+ "pnpm",
27
+ "conformance",
28
+ "build tools",
29
+ "tech debt",
30
+ "automated feedback",
31
+ "regression guard",
32
+ "CI integration",
33
+ "actionable feedback"
34
+ ],
22
35
  "publishConfig": {
23
36
  "access": "public"
24
37
  },
25
38
  "type": "module",
26
39
  "main": "./index.js",
27
- "types": "./src/index.d.ts"
28
- }
40
+ "types": "./src/index.d.ts",
41
+ "dependencies": {
42
+ "@code-pushup/models": "0.53.1",
43
+ "@code-pushup/utils": "0.53.1",
44
+ "build-md": "^0.4.1",
45
+ "semver": "^7.6.0",
46
+ "zod": "^3.22.4"
47
+ }
48
+ }