fix(core): update

This commit is contained in:
Philipp Kunz 2023-02-12 19:07:30 +01:00
parent 4685856ade
commit 9af837124a
3 changed files with 6 additions and 6 deletions

8
pnpm-lock.yaml generated
View File

@ -59,7 +59,7 @@ packages:
'@pushrocks/lik': 6.0.2 '@pushrocks/lik': 6.0.2
'@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartpromise': 3.1.7
'@pushrocks/webrequest': 3.0.15 '@pushrocks/webrequest': 3.0.16
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@ -702,7 +702,7 @@ packages:
'@pushrocks/smartfeed': 1.0.11 '@pushrocks/smartfeed': 1.0.11
'@pushrocks/smartxml': 1.0.6 '@pushrocks/smartxml': 1.0.6
'@pushrocks/smartyaml': 2.0.5 '@pushrocks/smartyaml': 2.0.5
'@pushrocks/webrequest': 3.0.15 '@pushrocks/webrequest': 3.0.16
'@tsclass/tsclass': 3.0.48 '@tsclass/tsclass': 3.0.48
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -843,8 +843,8 @@ packages:
- utf-8-validate - utf-8-validate
dev: true dev: true
/@pushrocks/webrequest/3.0.15: /@pushrocks/webrequest/3.0.16:
resolution: {integrity: sha512-YrLEKMwUSc485RBRkAe8muoAY0ogLnyQ7SITt2CiLpirt5YchfpRKU2Yhz82Rma1Ptt8BNF1p8Uy+IIH/Hm6iw==} resolution: {integrity: sha512-/GcRuMKepNpsNaaR5xdQlPKhne8D1hnXir8GZNda3wSog7C1oj9dMVkejDDuviJPkA6O4dDNFaHE4/XsLUM+Mg==}
dependencies: dependencies:
'@adobe/fetch': 4.0.1 '@adobe/fetch': 4.0.1
'@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartdelay': 2.0.13

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/webrequest', name: '@pushrocks/webrequest',
version: '3.0.16', version: '3.0.17',
description: 'securely request from browsers' description: 'securely request from browsers'
} }

View File

@ -29,7 +29,7 @@ export class WebRequest {
if (!smartenv.isBrowser) { if (!smartenv.isBrowser) {
console.log('webrequest using node context.'); console.log('webrequest using node context.');
this.polyfillStatusEvaluated = true; this.polyfillStatusEvaluated = true;
const fetchMod = await smartenv.getSafeNodeModule('@adobe/helix-fetch'); const fetchMod = await smartenv.getSafeNodeModule('@adobe/fetch');
this.neededPolyfillsLoadedDeferred.resolve({ this.neededPolyfillsLoadedDeferred.resolve({
fetch: fetchMod.fetch, fetch: fetchMod.fetch,
Response: fetchMod.Response, Response: fetchMod.Response,