@sanity/pkg-utils 6.8.1 → 6.8.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/pkg-utils",
3
- "version": "6.8.1",
3
+ "version": "6.8.3",
4
4
  "description": "Simple utilities for modern npm packages.",
5
5
  "keywords": [
6
6
  "sanity-io",
@@ -98,17 +98,18 @@
98
98
  "prettier": "^3.2.5",
99
99
  "pretty-bytes": "^5.6.0",
100
100
  "prompts": "^2.4.2",
101
+ "recast": "0.23.6",
101
102
  "rimraf": "^4.4.1",
102
- "rollup": "^4.14.3",
103
+ "rollup": "^4.16.3",
103
104
  "rollup-plugin-esbuild": "^6.1.1",
104
105
  "rxjs": "^7.8.1",
105
106
  "treeify": "^1.1.0",
106
107
  "uuid": "^9.0.1",
107
- "zod": "3.22.5",
108
+ "zod": "3.23.3",
108
109
  "zod-validation-error": "3.1.0"
109
110
  },
110
111
  "devDependencies": {
111
- "@commitlint/cli": "^19.2.2",
112
+ "@commitlint/cli": "^19.3.0",
112
113
  "@commitlint/config-conventional": "^19.2.2",
113
114
  "@sanity/prettier-config": "^1.0.2",
114
115
  "@types/babel__core": "^7.20.5",
@@ -122,8 +123,8 @@
122
123
  "@types/semver": "^7.5.8",
123
124
  "@types/treeify": "^1.0.3",
124
125
  "@types/uuid": "^9.0.8",
125
- "@typescript-eslint/eslint-plugin": "^7.7.0",
126
- "@typescript-eslint/parser": "^7.7.0",
126
+ "@typescript-eslint/eslint-plugin": "^7.7.1",
127
+ "@typescript-eslint/parser": "^7.7.1",
127
128
  "browserslist-to-esbuild": "2.1.1",
128
129
  "commitizen": "^4.3.0",
129
130
  "cpx": "^1.5.0",
@@ -137,14 +138,13 @@
137
138
  "lint-staged": "^15.0.2",
138
139
  "npm-run-all2": "^6.1.2",
139
140
  "outdent": "^0.8.0",
140
- "recast": "^0.23.6",
141
141
  "rollup-plugin-visualizer": "^5.12.0",
142
142
  "semver": "^7.6.0",
143
143
  "ts-node": "^10.9.2",
144
144
  "typescript": "5.4.5",
145
145
  "vitest": "^1.5.0",
146
146
  "vitest-github-actions-reporter": "^0.11.1",
147
- "@sanity/pkg-utils": "6.8.1"
147
+ "@sanity/pkg-utils": "6.8.3"
148
148
  },
149
149
  "peerDependencies": {
150
150
  "typescript": "5.4.x"
@@ -1,7 +1,7 @@
1
1
  import type {File} from '@babel/types'
2
2
  import type {ExtractorResult} from '@microsoft/api-extractor'
3
3
  import {parse, print} from 'recast'
4
- import typeScriptParser from 'recast/parsers/typescript'
4
+ import typeScriptParser from 'recast/parsers/typescript.js'
5
5
  import type {Program} from 'typescript'
6
6
 
7
7
  /**