@googlemaps/places 2.4.0 → 2.5.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/README.md +2 -2
- package/build/protos/google/maps/places/v1/place.proto +4 -0
- package/build/protos/google/maps/places/v1/transit.proto +212 -0
- package/build/protos/protos.d.ts +1182 -22
- package/build/protos/protos.js +4039 -513
- package/build/protos/protos.json +369 -22
- package/build/src/index.js +1 -1
- package/build/src/v1/index.js.map +1 -1
- package/build/src/v1/places_client.js +92 -46
- package/build/src/v1/places_client.js.map +1 -1
- package/build/src/v1/places_proto_list.json +1 -0
- package/package.json +10 -5
- package/LICENSE +0 -202
|
@@ -101,17 +101,26 @@ class PlacesClient {
|
|
|
101
101
|
constructor(opts, gaxInstance) {
|
|
102
102
|
// Ensure that options include all the required fields.
|
|
103
103
|
const staticMembers = this.constructor;
|
|
104
|
-
if (opts?.universe_domain &&
|
|
104
|
+
if (opts?.universe_domain &&
|
|
105
|
+
opts?.universeDomain &&
|
|
106
|
+
opts?.universe_domain !== opts?.universeDomain) {
|
|
105
107
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
|
106
108
|
}
|
|
107
|
-
const universeDomainEnvVar =
|
|
108
|
-
|
|
109
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
|
110
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
|
111
|
+
: undefined;
|
|
112
|
+
this._universeDomain =
|
|
113
|
+
opts?.universeDomain ??
|
|
114
|
+
opts?.universe_domain ??
|
|
115
|
+
universeDomainEnvVar ??
|
|
116
|
+
'googleapis.com';
|
|
109
117
|
this._servicePath = 'places.' + this._universeDomain;
|
|
110
118
|
const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
|
|
111
119
|
this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
|
|
112
120
|
const port = opts?.port || staticMembers.port;
|
|
113
121
|
const clientConfig = opts?.clientConfig ?? {};
|
|
114
|
-
const fallback = opts?.fallback ??
|
|
122
|
+
const fallback = opts?.fallback ??
|
|
123
|
+
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
|
|
115
124
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
|
116
125
|
// Request numeric enum values if REST transport is used.
|
|
117
126
|
opts.numericEnums = true;
|
|
@@ -140,10 +149,7 @@ class PlacesClient {
|
|
|
140
149
|
this.auth.defaultScopes = staticMembers.scopes;
|
|
141
150
|
}
|
|
142
151
|
// Determine the client header string.
|
|
143
|
-
const clientHeader = [
|
|
144
|
-
`gax/${this._gaxModule.version}`,
|
|
145
|
-
`gapic/${version}`,
|
|
146
|
-
];
|
|
152
|
+
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
|
147
153
|
if (typeof process === 'object' && 'versions' in process) {
|
|
148
154
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
|
149
155
|
}
|
|
@@ -197,15 +203,21 @@ class PlacesClient {
|
|
|
197
203
|
}
|
|
198
204
|
// Put together the "service stub" for
|
|
199
205
|
// google.maps.places.v1.Places.
|
|
200
|
-
this.placesStub = this._gaxGrpc.createStub(this._opts.fallback
|
|
201
|
-
this._protos.lookupService('google.maps.places.v1.Places')
|
|
202
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
203
|
-
|
|
206
|
+
this.placesStub = this._gaxGrpc.createStub(this._opts.fallback
|
|
207
|
+
? this._protos.lookupService('google.maps.places.v1.Places')
|
|
208
|
+
: // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
209
|
+
this._protos.google.maps.places.v1.Places, this._opts, this._providedCustomServicePath);
|
|
204
210
|
// Iterate over each of the methods that the service provides
|
|
205
211
|
// and create an API call method for each.
|
|
206
|
-
const placesStubMethods = [
|
|
212
|
+
const placesStubMethods = [
|
|
213
|
+
'searchNearby',
|
|
214
|
+
'searchText',
|
|
215
|
+
'getPhotoMedia',
|
|
216
|
+
'getPlace',
|
|
217
|
+
'autocompletePlaces',
|
|
218
|
+
];
|
|
207
219
|
for (const methodName of placesStubMethods) {
|
|
208
|
-
const callPromise = this.placesStub.then(stub => (...args) => {
|
|
220
|
+
const callPromise = this.placesStub.then((stub) => (...args) => {
|
|
209
221
|
if (this._terminated) {
|
|
210
222
|
return Promise.reject('The client has already been closed.');
|
|
211
223
|
}
|
|
@@ -226,7 +238,8 @@ class PlacesClient {
|
|
|
226
238
|
* @returns {string} The DNS address for this service.
|
|
227
239
|
*/
|
|
228
240
|
static get servicePath() {
|
|
229
|
-
if (typeof process === 'object' &&
|
|
241
|
+
if (typeof process === 'object' &&
|
|
242
|
+
typeof process.emitWarning === 'function') {
|
|
230
243
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
231
244
|
}
|
|
232
245
|
return 'places.googleapis.com';
|
|
@@ -237,7 +250,8 @@ class PlacesClient {
|
|
|
237
250
|
* @returns {string} The DNS address for this service.
|
|
238
251
|
*/
|
|
239
252
|
static get apiEndpoint() {
|
|
240
|
-
if (typeof process === 'object' &&
|
|
253
|
+
if (typeof process === 'object' &&
|
|
254
|
+
typeof process.emitWarning === 'function') {
|
|
241
255
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
242
256
|
}
|
|
243
257
|
return 'places.googleapis.com';
|
|
@@ -265,9 +279,7 @@ class PlacesClient {
|
|
|
265
279
|
* @returns {string[]} List of default scopes.
|
|
266
280
|
*/
|
|
267
281
|
static get scopes() {
|
|
268
|
-
return [
|
|
269
|
-
'https://www.googleapis.com/auth/cloud-platform'
|
|
270
|
-
];
|
|
282
|
+
return ['https://www.googleapis.com/auth/cloud-platform'];
|
|
271
283
|
}
|
|
272
284
|
/**
|
|
273
285
|
* Return the project ID used by this class.
|
|
@@ -293,7 +305,9 @@ class PlacesClient {
|
|
|
293
305
|
options = options || {};
|
|
294
306
|
options.otherArgs = options.otherArgs || {};
|
|
295
307
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
296
|
-
this.initialize().catch(err => {
|
|
308
|
+
this.initialize().catch((err) => {
|
|
309
|
+
throw err;
|
|
310
|
+
});
|
|
297
311
|
this._log.info('searchNearby request %j', request);
|
|
298
312
|
const wrappedCallback = callback
|
|
299
313
|
? (error, response, options, rawResponse) => {
|
|
@@ -301,12 +315,16 @@ class PlacesClient {
|
|
|
301
315
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
302
316
|
}
|
|
303
317
|
: undefined;
|
|
304
|
-
return this.innerApiCalls
|
|
318
|
+
return this.innerApiCalls
|
|
319
|
+
.searchNearby(request, options, wrappedCallback)
|
|
305
320
|
?.then(([response, options, rawResponse]) => {
|
|
306
321
|
this._log.info('searchNearby response %j', response);
|
|
307
322
|
return [response, options, rawResponse];
|
|
308
|
-
})
|
|
309
|
-
|
|
323
|
+
})
|
|
324
|
+
.catch((error) => {
|
|
325
|
+
if (error &&
|
|
326
|
+
'statusDetails' in error &&
|
|
327
|
+
error.statusDetails instanceof Array) {
|
|
310
328
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
311
329
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
312
330
|
}
|
|
@@ -326,7 +344,9 @@ class PlacesClient {
|
|
|
326
344
|
options = options || {};
|
|
327
345
|
options.otherArgs = options.otherArgs || {};
|
|
328
346
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
329
|
-
this.initialize().catch(err => {
|
|
347
|
+
this.initialize().catch((err) => {
|
|
348
|
+
throw err;
|
|
349
|
+
});
|
|
330
350
|
this._log.info('searchText request %j', request);
|
|
331
351
|
const wrappedCallback = callback
|
|
332
352
|
? (error, response, options, rawResponse) => {
|
|
@@ -334,12 +354,16 @@ class PlacesClient {
|
|
|
334
354
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
335
355
|
}
|
|
336
356
|
: undefined;
|
|
337
|
-
return this.innerApiCalls
|
|
357
|
+
return this.innerApiCalls
|
|
358
|
+
.searchText(request, options, wrappedCallback)
|
|
338
359
|
?.then(([response, options, rawResponse]) => {
|
|
339
360
|
this._log.info('searchText response %j', response);
|
|
340
361
|
return [response, options, rawResponse];
|
|
341
|
-
})
|
|
342
|
-
|
|
362
|
+
})
|
|
363
|
+
.catch((error) => {
|
|
364
|
+
if (error &&
|
|
365
|
+
'statusDetails' in error &&
|
|
366
|
+
error.statusDetails instanceof Array) {
|
|
343
367
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
344
368
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
345
369
|
}
|
|
@@ -359,10 +383,13 @@ class PlacesClient {
|
|
|
359
383
|
options = options || {};
|
|
360
384
|
options.otherArgs = options.otherArgs || {};
|
|
361
385
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
362
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
363
|
-
|
|
386
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
387
|
+
this._gaxModule.routingHeader.fromParams({
|
|
388
|
+
name: request.name ?? '',
|
|
389
|
+
});
|
|
390
|
+
this.initialize().catch((err) => {
|
|
391
|
+
throw err;
|
|
364
392
|
});
|
|
365
|
-
this.initialize().catch(err => { throw err; });
|
|
366
393
|
this._log.info('getPhotoMedia request %j', request);
|
|
367
394
|
const wrappedCallback = callback
|
|
368
395
|
? (error, response, options, rawResponse) => {
|
|
@@ -370,12 +397,16 @@ class PlacesClient {
|
|
|
370
397
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
371
398
|
}
|
|
372
399
|
: undefined;
|
|
373
|
-
return this.innerApiCalls
|
|
400
|
+
return this.innerApiCalls
|
|
401
|
+
.getPhotoMedia(request, options, wrappedCallback)
|
|
374
402
|
?.then(([response, options, rawResponse]) => {
|
|
375
403
|
this._log.info('getPhotoMedia response %j', response);
|
|
376
404
|
return [response, options, rawResponse];
|
|
377
|
-
})
|
|
378
|
-
|
|
405
|
+
})
|
|
406
|
+
.catch((error) => {
|
|
407
|
+
if (error &&
|
|
408
|
+
'statusDetails' in error &&
|
|
409
|
+
error.statusDetails instanceof Array) {
|
|
379
410
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
380
411
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
381
412
|
}
|
|
@@ -395,10 +426,13 @@ class PlacesClient {
|
|
|
395
426
|
options = options || {};
|
|
396
427
|
options.otherArgs = options.otherArgs || {};
|
|
397
428
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
398
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
399
|
-
|
|
429
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
|
430
|
+
this._gaxModule.routingHeader.fromParams({
|
|
431
|
+
name: request.name ?? '',
|
|
432
|
+
});
|
|
433
|
+
this.initialize().catch((err) => {
|
|
434
|
+
throw err;
|
|
400
435
|
});
|
|
401
|
-
this.initialize().catch(err => { throw err; });
|
|
402
436
|
this._log.info('getPlace request %j', request);
|
|
403
437
|
const wrappedCallback = callback
|
|
404
438
|
? (error, response, options, rawResponse) => {
|
|
@@ -406,12 +440,16 @@ class PlacesClient {
|
|
|
406
440
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
407
441
|
}
|
|
408
442
|
: undefined;
|
|
409
|
-
return this.innerApiCalls
|
|
443
|
+
return this.innerApiCalls
|
|
444
|
+
.getPlace(request, options, wrappedCallback)
|
|
410
445
|
?.then(([response, options, rawResponse]) => {
|
|
411
446
|
this._log.info('getPlace response %j', response);
|
|
412
447
|
return [response, options, rawResponse];
|
|
413
|
-
})
|
|
414
|
-
|
|
448
|
+
})
|
|
449
|
+
.catch((error) => {
|
|
450
|
+
if (error &&
|
|
451
|
+
'statusDetails' in error &&
|
|
452
|
+
error.statusDetails instanceof Array) {
|
|
415
453
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
416
454
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
417
455
|
}
|
|
@@ -431,7 +469,9 @@ class PlacesClient {
|
|
|
431
469
|
options = options || {};
|
|
432
470
|
options.otherArgs = options.otherArgs || {};
|
|
433
471
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
434
|
-
this.initialize().catch(err => {
|
|
472
|
+
this.initialize().catch((err) => {
|
|
473
|
+
throw err;
|
|
474
|
+
});
|
|
435
475
|
this._log.info('autocompletePlaces request %j', request);
|
|
436
476
|
const wrappedCallback = callback
|
|
437
477
|
? (error, response, options, rawResponse) => {
|
|
@@ -439,12 +479,16 @@ class PlacesClient {
|
|
|
439
479
|
callback(error, response, options, rawResponse); // We verified callback above.
|
|
440
480
|
}
|
|
441
481
|
: undefined;
|
|
442
|
-
return this.innerApiCalls
|
|
482
|
+
return this.innerApiCalls
|
|
483
|
+
.autocompletePlaces(request, options, wrappedCallback)
|
|
443
484
|
?.then(([response, options, rawResponse]) => {
|
|
444
485
|
this._log.info('autocompletePlaces response %j', response);
|
|
445
486
|
return [response, options, rawResponse];
|
|
446
|
-
})
|
|
447
|
-
|
|
487
|
+
})
|
|
488
|
+
.catch((error) => {
|
|
489
|
+
if (error &&
|
|
490
|
+
'statusDetails' in error &&
|
|
491
|
+
error.statusDetails instanceof Array) {
|
|
448
492
|
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
|
449
493
|
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
|
450
494
|
}
|
|
@@ -508,7 +552,8 @@ class PlacesClient {
|
|
|
508
552
|
* @returns {string} A string representing the place_id.
|
|
509
553
|
*/
|
|
510
554
|
matchPlaceIdFromPhotoMediaName(photoMediaName) {
|
|
511
|
-
return this.pathTemplates.photoMediaPathTemplate.match(photoMediaName)
|
|
555
|
+
return this.pathTemplates.photoMediaPathTemplate.match(photoMediaName)
|
|
556
|
+
.place_id;
|
|
512
557
|
}
|
|
513
558
|
/**
|
|
514
559
|
* Parse the photo_reference from PhotoMedia resource.
|
|
@@ -518,7 +563,8 @@ class PlacesClient {
|
|
|
518
563
|
* @returns {string} A string representing the photo_reference.
|
|
519
564
|
*/
|
|
520
565
|
matchPhotoReferenceFromPhotoMediaName(photoMediaName) {
|
|
521
|
-
return this.pathTemplates.photoMediaPathTemplate.match(photoMediaName)
|
|
566
|
+
return this.pathTemplates.photoMediaPathTemplate.match(photoMediaName)
|
|
567
|
+
.photo_reference;
|
|
522
568
|
}
|
|
523
569
|
/**
|
|
524
570
|
* Return a fully-qualified place resource name string.
|
|
@@ -582,7 +628,7 @@ class PlacesClient {
|
|
|
582
628
|
*/
|
|
583
629
|
close() {
|
|
584
630
|
if (this.placesStub && !this._terminated) {
|
|
585
|
-
return this.placesStub.then(stub => {
|
|
631
|
+
return this.placesStub.then((stub) => {
|
|
586
632
|
this._log.info('ending gRPC channel');
|
|
587
633
|
this._terminated = true;
|
|
588
634
|
stub.close();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"places_client.js","sourceRoot":"","sources":["../../../src/v1/places_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAOrD,uDAAwD;AACxD,2CAA2E;AAE3E;;;;GAIG;AACH,2DAA2D;AAC3D,MAAM,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AAEzD;;;;;;;;;GASG;AACH,MAAa,YAAY;IACf,WAAW,GAAG,KAAK,CAAC;IACpB,KAAK,CAAgB;IACrB,0BAA0B,CAAU;IACpC,UAAU,CAAmC;IAC7C,QAAQ,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E,OAAO;SAClB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,yBAAyB,CAAC,SAAiB;QACzC,OAAO,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC;IACxE,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CAAC,KAAY,EAAC,MAAa;QACnC,OAAO,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,MAAM,CAAC;YAClD,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,MAAM;SACf,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAkB;QACzC,OAAO,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC;IACvE,CAAC;IAED;;;;;;OAMG;IACH,yBAAyB,CAAC,UAAkB;QAC1C,OAAO,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC;IACxE,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACjC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;gBACtC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC,CAAC,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AAhuCD,oCAguCC"}
|
|
1
|
+
{"version":3,"file":"places_client.js","sourceRoot":"","sources":["../../../src/v1/places_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACn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AE,EAAE;gBACnC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;gBACtC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC,CAAC,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AA76CD,oCA66CC"}
|
|
@@ -17,5 +17,6 @@
|
|
|
17
17
|
"../../protos/google/maps/places/v1/route_modifiers.proto",
|
|
18
18
|
"../../protos/google/maps/places/v1/routing_preference.proto",
|
|
19
19
|
"../../protos/google/maps/places/v1/routing_summary.proto",
|
|
20
|
+
"../../protos/google/maps/places/v1/transit.proto",
|
|
20
21
|
"../../protos/google/maps/places/v1/travel_mode.proto"
|
|
21
22
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googlemaps/places",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Places API (New) client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,8 +33,6 @@
|
|
|
33
33
|
"compile": "tsc -p . && cp -r protos build/",
|
|
34
34
|
"compile-protos": "compileProtos src",
|
|
35
35
|
"docs": "jsdoc -c .jsdoc.js",
|
|
36
|
-
"predocs-test": "npm run docs",
|
|
37
|
-
"docs-test": "linkinator docs",
|
|
38
36
|
"fix": "gts fix",
|
|
39
37
|
"lint": "gts check",
|
|
40
38
|
"postpack": "minifyProtoJson",
|
|
@@ -57,14 +55,21 @@
|
|
|
57
55
|
"jsdoc": "^4.0.4",
|
|
58
56
|
"jsdoc-fresh": "^4.0.0",
|
|
59
57
|
"jsdoc-region-tag": "^3.0.0",
|
|
60
|
-
"linkinator": "^6.1.2",
|
|
61
58
|
"long": "^5.3.1",
|
|
62
59
|
"mocha": "^11.1.0",
|
|
63
60
|
"pack-n-play": "^3.0.0",
|
|
64
|
-
"sinon": "
|
|
61
|
+
"sinon": "21.0.3",
|
|
65
62
|
"typescript": "^5.8.2"
|
|
66
63
|
},
|
|
67
64
|
"engines": {
|
|
68
65
|
"node": ">=18"
|
|
66
|
+
},
|
|
67
|
+
"overrides": {
|
|
68
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
69
|
+
},
|
|
70
|
+
"pnpm": {
|
|
71
|
+
"overrides": {
|
|
72
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
73
|
+
}
|
|
69
74
|
}
|
|
70
75
|
}
|
package/LICENSE
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|