@altano/vitest-plugins 1.0.0 → 1.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @altano/vitest-plugins
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e07daa2: add explicit types export for matchers
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
package/README.md CHANGED
@@ -83,7 +83,7 @@ Will replace any instances of `process.cwd()` with `<cwd>` in the snapshot. Usef
83
83
 
84
84
  ### URLs
85
85
 
86
- Canonicalizes parts of a URL that might not be deterministic in tests. Tries to be conservative, so at the moment, this only strips the port from localhost urls, e.g. `http://localhost:1234` is converted to `http://localhost`.
86
+ Will replace any instances of `http://localhost:1234` with `http://localhost` in the snapshot. Useful when dealing with test servers that use random ports.
87
87
 
88
88
  ### HTML
89
89
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altano/vitest-plugins",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Custom matchers and snapshot serializers to enhance vitest",
5
5
  "homepage": "https://github.com/altano/npm-packages/tree/main/packages/vitest-plugins",
6
6
  "repository": {
@@ -21,6 +21,7 @@
21
21
  "types": "./src/matchers/types.d.ts"
22
22
  },
23
23
  "./matchers/*": "./src/matchers/*.ts",
24
+ "./matchers/types": "./src/matchers/types.d.ts",
24
25
  "./serializers": "./src/serializers/setup.ts",
25
26
  "./serializers/*": "./src/serializers/*.ts"
26
27
  },
@@ -29,18 +30,18 @@
29
30
  "exifr": "^7.1.3",
30
31
  "serialize-error": "^11.0.3",
31
32
  "vfile": "^6.0.3",
32
- "vitest": "^3.0.9"
33
+ "vitest": "^3.1.1"
33
34
  },
34
35
  "devDependencies": {
35
36
  "@types/node": "^22.13.10",
36
- "@vitest/coverage-v8": "^3.0.9",
37
- "@vitest/expect": "^3.0.9",
37
+ "@vitest/coverage-v8": "^3.1.1",
38
+ "@vitest/expect": "^3.1.1",
38
39
  "depcheck": "^1.4.7",
39
- "eslint": "^9.22.0",
40
- "prettier": "^3.3.3",
40
+ "eslint": "^9.23.0",
41
+ "prettier": "^3.5.3",
41
42
  "typescript": "^5.8.2",
42
- "vite": "^6.2.3",
43
- "vitest": "^3.0.9",
43
+ "vite": "^6.2.4",
44
+ "vitest": "^3.1.1",
44
45
  "@altano/tsconfig": "0.0.0"
45
46
  },
46
47
  "publishConfig": {