@code-pushup/lighthouse-plugin 0.53.1 → 0.54.0

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/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // packages/plugin-lighthouse/package.json
2
2
  var name = "@code-pushup/lighthouse-plugin";
3
- var version = "0.53.1";
3
+ var version = "0.54.0";
4
4
 
5
5
  // packages/plugin-lighthouse/src/lib/constants.ts
6
6
  import { DEFAULT_FLAGS } from "chrome-launcher/dist/flags.js";
@@ -114,7 +114,6 @@ var fileNameSchema = z.string().trim().regex(filenameRegex, {
114
114
  message: `The filename has to be valid`
115
115
  }).min(1, { message: "file name is invalid" });
116
116
  var positiveIntSchema = z.number().int().positive();
117
- var nonnegativeIntSchema = z.number().int().nonnegative();
118
117
  var nonnegativeNumberSchema = z.number().nonnegative();
119
118
  function packageVersionSchema(options) {
120
119
  const { versionDescription = "NPM version of the package", required } = options ?? {};
@@ -661,7 +660,7 @@ var auditDiffSchema = scorableWithPluginDiffSchema.merge(
661
660
  z16.object({
662
661
  values: makeComparisonSchema(auditValueSchema).merge(
663
662
  z16.object({
664
- diff: z16.number().int().describe("Value change (`values.after - values.before`)")
663
+ diff: z16.number().describe("Value change (`values.after - values.before`)")
665
664
  })
666
665
  ).describe("Audit `value` comparison"),
667
666
  displayValues: makeComparisonSchema(auditDisplayValueSchema).describe(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/lighthouse-plugin",
3
- "version": "0.53.1",
3
+ "version": "0.54.0",
4
4
  "license": "MIT",
5
5
  "description": "Code PushUp plugin for measuring web performance and quality with Lighthouse 🔥",
6
6
  "homepage": "https://github.com/code-pushup/cli/tree/main/packages/plugin-lighthouse#readme",
@@ -38,8 +38,8 @@
38
38
  "main": "./index.js",
39
39
  "types": "./src/index.d.ts",
40
40
  "dependencies": {
41
- "@code-pushup/models": "0.53.1",
42
- "@code-pushup/utils": "0.53.1",
41
+ "@code-pushup/models": "0.54.0",
42
+ "@code-pushup/utils": "0.54.0",
43
43
  "ansis": "^3.3.0",
44
44
  "chrome-launcher": "^1.1.1",
45
45
  "lighthouse": "^12.0.0",
@@ -1,4 +0,0 @@
1
- export type DOM = {
2
- append: (v: string) => string;
3
- createComponent: (type: 'crcChain', opt: Record<string, unknown>) => string;
4
- };