@automattic/jetpack-boost-score-api 0.1.47 → 0.1.49

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/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.49] - 2024-12-09
9
+ ### Changed
10
+ - Internal updates.
11
+
12
+ ## [0.1.48] - 2024-12-04
13
+ ### Changed
14
+ - Updated package dependencies. [#40363]
15
+
8
16
  ## [0.1.47] - 2024-11-25
9
17
  ### Changed
10
18
  - Updated package dependencies. [#40288]
@@ -203,6 +211,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
203
211
  ### Added
204
212
  - Create package for the boost score bar API [#30781]
205
213
 
214
+ [0.1.49]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.48...v0.1.49
215
+ [0.1.48]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.47...v0.1.48
206
216
  [0.1.47]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.46...v0.1.47
207
217
  [0.1.46]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.45...v0.1.46
208
218
  [0.1.45]: https://github.com/Automattic/jetpack-boost-score-api/compare/v0.1.44...v0.1.45
@@ -1,12 +1,10 @@
1
- import { z } from 'zod';
2
1
  /**
3
2
  * Definition for JSON types:
4
3
  * - JSONValue can be any value compatible with JSON; an object (containing JSONValues), array, string, number, boolean, or null
5
4
  * - JSONObject is an object containing JSONValues
6
5
  * - JSONSchema is a zod schema that can be used to validate JSONValues
7
6
  */
8
- declare const literalSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9
- type Literal = z.infer<typeof literalSchema>;
7
+ type Literal = string | number | boolean | null;
10
8
  export type JSONValue = Literal | JSONObject | JSONValue[];
11
9
  export type JSONObject = {
12
10
  [key: string]: JSONValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-boost-score-api",
3
- "version": "0.1.47",
3
+ "version": "0.1.49",
4
4
  "description": "A package to get the Jetpack Boost score of a site",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/boost-score-api/#readme",
6
6
  "bugs": {
@@ -21,13 +21,11 @@
21
21
  "test-coverage": "pnpm run test --coverage"
22
22
  },
23
23
  "dependencies": {
24
- "@wordpress/i18n": "5.12.0",
24
+ "@wordpress/i18n": "5.13.0",
25
25
  "zod": "3.22.3"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@automattic/jetpack-webpack-config": "workspace:*",
29
- "@typescript-eslint/parser": "6.21.0",
30
- "eslint": "8.57.1",
31
29
  "jest": "29.7.0",
32
30
  "jest-environment-jsdom": "29.7.0",
33
31
  "typescript": "5.0.4",