@serwist/next 9.0.0-preview.9 → 9.0.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/dist/chunks/schema.js +20 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +51 -36
- package/dist/index.schema.d.ts +3 -0
- package/dist/index.schema.d.ts.map +1 -0
- package/dist/index.schema.js +4 -0
- package/dist/index.worker.js +28 -17
- package/dist/lib/find-first-truthy.d.ts.map +1 -0
- package/dist/lib/get-content-hash.d.ts.map +1 -0
- package/dist/lib/get-file-hash.d.ts.map +1 -0
- package/dist/lib/get-package-version.d.ts.map +1 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/load-tsconfig.d.ts.map +1 -0
- package/dist/lib/logger.d.ts.map +1 -0
- package/dist/lib/schema.d.ts +240 -0
- package/dist/lib/schema.d.ts.map +1 -0
- package/dist/lib/types.d.ts +95 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/validator.d.ts +3 -0
- package/dist/lib/validator.d.ts.map +1 -0
- package/dist/worker/defaultCache.d.ts +8 -14
- package/dist/worker/defaultCache.d.ts.map +1 -1
- package/package.json +24 -26
- package/src/index.schema.ts +3 -0
- package/src/index.ts +37 -41
- package/src/lib/schema.ts +21 -0
- package/src/lib/types.ts +104 -0
- package/src/lib/validator.ts +13 -0
- package/src/worker/defaultCache.ts +264 -241
- package/dist/utils/find-first-truthy.d.ts.map +0 -1
- package/dist/utils/get-content-hash.d.ts.map +0 -1
- package/dist/utils/get-file-hash.d.ts.map +0 -1
- package/dist/utils/get-package-version.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/load-tsconfig.d.ts.map +0 -1
- package/dist/utils/logger.d.ts.map +0 -1
- /package/dist/{utils → lib}/find-first-truthy.d.ts +0 -0
- /package/dist/{utils → lib}/get-content-hash.d.ts +0 -0
- /package/dist/{utils → lib}/get-file-hash.d.ts +0 -0
- /package/dist/{utils → lib}/get-package-version.d.ts +0 -0
- /package/dist/{utils → lib}/index.d.ts +0 -0
- /package/dist/{utils → lib}/load-tsconfig.d.ts +0 -0
- /package/dist/{utils → lib}/logger.d.ts +0 -0
- /package/src/{utils → lib}/find-first-truthy.ts +0 -0
- /package/src/{utils → lib}/get-content-hash.ts +0 -0
- /package/src/{utils → lib}/get-file-hash.ts +0 -0
- /package/src/{utils → lib}/get-package-version.ts +0 -0
- /package/src/{utils → lib}/index.ts +0 -0
- /package/src/{utils → lib}/load-tsconfig.ts +0 -0
- /package/src/{utils → lib}/logger.ts +0 -0
|
@@ -1,246 +1,269 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RangeRequestsPlugin } from "
|
|
3
|
-
import { CacheFirst, NetworkFirst, StaleWhileRevalidate } from "@serwist/strategies";
|
|
4
|
-
import type { RuntimeCaching } from "@serwist/sw";
|
|
1
|
+
import type { RuntimeCaching } from "serwist";
|
|
2
|
+
import { CacheFirst, ExpirationPlugin, NetworkFirst, RangeRequestsPlugin, StaleWhileRevalidate } from "serwist";
|
|
5
3
|
|
|
6
4
|
import { PAGES_CACHE_NAME } from "./constants.js";
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
6
|
+
/**
|
|
7
|
+
* The default, recommended list of caching strategies for applications
|
|
8
|
+
* built with Next.js.
|
|
9
|
+
*
|
|
10
|
+
* @see https://serwist.pages.dev/docs/next/worker-exports#default-cache
|
|
11
|
+
*/
|
|
12
|
+
export const defaultCache: RuntimeCaching[] =
|
|
13
|
+
process.env.NODE_ENV !== "production"
|
|
14
|
+
? []
|
|
15
|
+
: [
|
|
16
|
+
{
|
|
17
|
+
matcher: /^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,
|
|
18
|
+
handler: new CacheFirst({
|
|
19
|
+
cacheName: "google-fonts-webfonts",
|
|
20
|
+
plugins: [
|
|
21
|
+
new ExpirationPlugin({
|
|
22
|
+
maxEntries: 4,
|
|
23
|
+
maxAgeSeconds: 365 * 24 * 60 * 60, // 365 days
|
|
24
|
+
maxAgeFrom: "last-used",
|
|
25
|
+
}),
|
|
26
|
+
],
|
|
27
|
+
}),
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
matcher: /^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,
|
|
31
|
+
handler: new StaleWhileRevalidate({
|
|
32
|
+
cacheName: "google-fonts-stylesheets",
|
|
33
|
+
plugins: [
|
|
34
|
+
new ExpirationPlugin({
|
|
35
|
+
maxEntries: 4,
|
|
36
|
+
maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
|
|
37
|
+
maxAgeFrom: "last-used",
|
|
38
|
+
}),
|
|
39
|
+
],
|
|
40
|
+
}),
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
matcher: /\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,
|
|
44
|
+
handler: new StaleWhileRevalidate({
|
|
45
|
+
cacheName: "static-font-assets",
|
|
46
|
+
plugins: [
|
|
47
|
+
new ExpirationPlugin({
|
|
48
|
+
maxEntries: 4,
|
|
49
|
+
maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
|
|
50
|
+
maxAgeFrom: "last-used",
|
|
51
|
+
}),
|
|
52
|
+
],
|
|
53
|
+
}),
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
matcher: /\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,
|
|
57
|
+
handler: new StaleWhileRevalidate({
|
|
58
|
+
cacheName: "static-image-assets",
|
|
59
|
+
plugins: [
|
|
60
|
+
new ExpirationPlugin({
|
|
61
|
+
maxEntries: 64,
|
|
62
|
+
maxAgeSeconds: 30 * 24 * 60 * 60, // 30 days
|
|
63
|
+
maxAgeFrom: "last-used",
|
|
64
|
+
}),
|
|
65
|
+
],
|
|
66
|
+
}),
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
matcher: /\/_next\/static.+\.js$/i,
|
|
70
|
+
handler: new CacheFirst({
|
|
71
|
+
cacheName: "next-static-js-assets",
|
|
72
|
+
plugins: [
|
|
73
|
+
new ExpirationPlugin({
|
|
74
|
+
maxEntries: 64,
|
|
75
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
76
|
+
maxAgeFrom: "last-used",
|
|
77
|
+
}),
|
|
78
|
+
],
|
|
79
|
+
}),
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
matcher: /\/_next\/image\?url=.+$/i,
|
|
83
|
+
handler: new StaleWhileRevalidate({
|
|
84
|
+
cacheName: "next-image",
|
|
85
|
+
plugins: [
|
|
86
|
+
new ExpirationPlugin({
|
|
87
|
+
maxEntries: 64,
|
|
88
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
89
|
+
maxAgeFrom: "last-used",
|
|
90
|
+
}),
|
|
91
|
+
],
|
|
92
|
+
}),
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
matcher: /\.(?:mp3|wav|ogg)$/i,
|
|
96
|
+
handler: new CacheFirst({
|
|
97
|
+
cacheName: "static-audio-assets",
|
|
98
|
+
plugins: [
|
|
99
|
+
new ExpirationPlugin({
|
|
100
|
+
maxEntries: 32,
|
|
101
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
102
|
+
maxAgeFrom: "last-used",
|
|
103
|
+
}),
|
|
104
|
+
new RangeRequestsPlugin(),
|
|
105
|
+
],
|
|
106
|
+
}),
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
matcher: /\.(?:mp4|webm)$/i,
|
|
110
|
+
handler: new CacheFirst({
|
|
111
|
+
cacheName: "static-video-assets",
|
|
112
|
+
plugins: [
|
|
113
|
+
new ExpirationPlugin({
|
|
114
|
+
maxEntries: 32,
|
|
115
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
116
|
+
maxAgeFrom: "last-used",
|
|
117
|
+
}),
|
|
118
|
+
new RangeRequestsPlugin(),
|
|
119
|
+
],
|
|
120
|
+
}),
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
matcher: /\.(?:js)$/i,
|
|
124
|
+
handler: new StaleWhileRevalidate({
|
|
125
|
+
cacheName: "static-js-assets",
|
|
126
|
+
plugins: [
|
|
127
|
+
new ExpirationPlugin({
|
|
128
|
+
maxEntries: 48,
|
|
129
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
130
|
+
maxAgeFrom: "last-used",
|
|
131
|
+
}),
|
|
132
|
+
],
|
|
133
|
+
}),
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
matcher: /\.(?:css|less)$/i,
|
|
137
|
+
handler: new StaleWhileRevalidate({
|
|
138
|
+
cacheName: "static-style-assets",
|
|
139
|
+
plugins: [
|
|
140
|
+
new ExpirationPlugin({
|
|
141
|
+
maxEntries: 32,
|
|
142
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
143
|
+
maxAgeFrom: "last-used",
|
|
144
|
+
}),
|
|
145
|
+
],
|
|
146
|
+
}),
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
matcher: /\/_next\/data\/.+\/.+\.json$/i,
|
|
150
|
+
handler: new NetworkFirst({
|
|
151
|
+
cacheName: "next-data",
|
|
152
|
+
plugins: [
|
|
153
|
+
new ExpirationPlugin({
|
|
154
|
+
maxEntries: 32,
|
|
155
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
156
|
+
maxAgeFrom: "last-used",
|
|
157
|
+
}),
|
|
158
|
+
],
|
|
159
|
+
}),
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
matcher: /\.(?:json|xml|csv)$/i,
|
|
163
|
+
handler: new NetworkFirst({
|
|
164
|
+
cacheName: "static-data-assets",
|
|
165
|
+
plugins: [
|
|
166
|
+
new ExpirationPlugin({
|
|
167
|
+
maxEntries: 32,
|
|
168
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
169
|
+
maxAgeFrom: "last-used",
|
|
170
|
+
}),
|
|
171
|
+
],
|
|
172
|
+
}),
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
matcher: ({ sameOrigin, url: { pathname } }) => {
|
|
176
|
+
// Exclude /api/auth/callback/* to fix OAuth workflow in Safari without having
|
|
177
|
+
// an impact on other environments
|
|
178
|
+
// The above route is the default for next-auth, you may need to change it if
|
|
179
|
+
// your OAuth workflow has a different callback route.
|
|
180
|
+
// Issue: https://github.com/shadowwalker/next-pwa/issues/131#issuecomment-821894809
|
|
181
|
+
// TODO(ducanhgh): Investigate Auth.js's "/api/auth/*" failing when we allow them
|
|
182
|
+
// to be cached (the current behaviour).
|
|
183
|
+
if (!sameOrigin || pathname.startsWith("/api/auth/callback")) {
|
|
184
|
+
return false;
|
|
185
|
+
}
|
|
164
186
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
187
|
+
if (pathname.startsWith("/api/")) {
|
|
188
|
+
return true;
|
|
189
|
+
}
|
|
168
190
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
191
|
+
return false;
|
|
192
|
+
},
|
|
193
|
+
method: "GET",
|
|
194
|
+
handler: new NetworkFirst({
|
|
195
|
+
cacheName: "apis",
|
|
196
|
+
plugins: [
|
|
197
|
+
new ExpirationPlugin({
|
|
198
|
+
maxEntries: 16,
|
|
199
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
200
|
+
maxAgeFrom: "last-used",
|
|
201
|
+
}),
|
|
202
|
+
],
|
|
203
|
+
networkTimeoutSeconds: 10, // fallback to cache if API does not response within 10 seconds
|
|
204
|
+
}),
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
matcher: ({ request, url: { pathname }, sameOrigin }) =>
|
|
208
|
+
request.headers.get("RSC") === "1" && request.headers.get("Next-Router-Prefetch") === "1" && sameOrigin && !pathname.startsWith("/api/"),
|
|
209
|
+
handler: new NetworkFirst({
|
|
210
|
+
cacheName: PAGES_CACHE_NAME.rscPrefetch,
|
|
211
|
+
plugins: [
|
|
212
|
+
new ExpirationPlugin({
|
|
213
|
+
maxEntries: 32,
|
|
214
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
215
|
+
}),
|
|
216
|
+
],
|
|
217
|
+
}),
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
matcher: ({ request, url: { pathname }, sameOrigin }) => request.headers.get("RSC") === "1" && sameOrigin && !pathname.startsWith("/api/"),
|
|
221
|
+
handler: new NetworkFirst({
|
|
222
|
+
cacheName: PAGES_CACHE_NAME.rsc,
|
|
223
|
+
plugins: [
|
|
224
|
+
new ExpirationPlugin({
|
|
225
|
+
maxEntries: 32,
|
|
226
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
227
|
+
}),
|
|
228
|
+
],
|
|
229
|
+
}),
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
matcher: ({ request, url: { pathname }, sameOrigin }) =>
|
|
233
|
+
request.headers.get("Content-Type")?.includes("text/html") && sameOrigin && !pathname.startsWith("/api/"),
|
|
234
|
+
handler: new NetworkFirst({
|
|
235
|
+
cacheName: PAGES_CACHE_NAME.html,
|
|
236
|
+
plugins: [
|
|
237
|
+
new ExpirationPlugin({
|
|
238
|
+
maxEntries: 32,
|
|
239
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
240
|
+
}),
|
|
241
|
+
],
|
|
242
|
+
}),
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
matcher: ({ url: { pathname }, sameOrigin }) => sameOrigin && !pathname.startsWith("/api/"),
|
|
246
|
+
handler: new NetworkFirst({
|
|
247
|
+
cacheName: "others",
|
|
248
|
+
plugins: [
|
|
249
|
+
new ExpirationPlugin({
|
|
250
|
+
maxEntries: 32,
|
|
251
|
+
maxAgeSeconds: 24 * 60 * 60, // 24 hours
|
|
252
|
+
}),
|
|
253
|
+
],
|
|
254
|
+
}),
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
matcher: ({ sameOrigin }) => !sameOrigin,
|
|
258
|
+
handler: new NetworkFirst({
|
|
259
|
+
cacheName: "cross-origin",
|
|
260
|
+
plugins: [
|
|
261
|
+
new ExpirationPlugin({
|
|
262
|
+
maxEntries: 32,
|
|
263
|
+
maxAgeSeconds: 60 * 60, // 1 hour
|
|
264
|
+
}),
|
|
265
|
+
],
|
|
266
|
+
networkTimeoutSeconds: 10,
|
|
267
|
+
}),
|
|
268
|
+
},
|
|
269
|
+
];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"find-first-truthy.d.ts","sourceRoot":"","sources":["../../src/utils/find-first-truthy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,eAAe,mEAQ3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-content-hash.d.ts","sourceRoot":"","sources":["../../src/utils/get-content-hash.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAI9B,eAAO,MAAM,cAAc,SAAU,GAAG,oBAAoB,SAAS,OAAO,WAK3E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-hash.d.ts","sourceRoot":"","sources":["../../src/utils/get-file-hash.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,eAAO,MAAM,WAAW,SAAU,GAAG,oBAAoB,WAAyE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-package-version.d.ts","sourceRoot":"","sources":["../../src/utils/get-package-version.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,gBAAiB,MAAM,KAAG,MAAM,GAAG,SAMhE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"load-tsconfig.d.ts","sourceRoot":"","sources":["../../src/utils/load-tsconfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AAI9D,eAAO,MAAM,YAAY,YAAa,MAAM,wBAAwB,MAAM,GAAG,SAAS,KAAG,YAAY,GAAG,SAmBvG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/utils/logger.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,IAAI,eAAgB,GAAG,EAAE,SAErC,CAAC;AAEF,eAAO,MAAM,KAAK,eAAgB,GAAG,EAAE,SAEtC,CAAC;AAEF,eAAO,MAAM,IAAI,eAAgB,GAAG,EAAE,SAErC,CAAC;AAEF,eAAO,MAAM,IAAI,eAAgB,GAAG,EAAE,SAErC,CAAC;AAEF,eAAO,MAAM,KAAK,eAAgB,GAAG,EAAE,SAEtC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|