fix(core): update
This commit is contained in:
		
							
								
								
									
										8
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							| @@ -59,7 +59,7 @@ packages: | ||||
|       '@pushrocks/lik': 6.0.2 | ||||
|       '@pushrocks/smartdelay': 2.0.13 | ||||
|       '@pushrocks/smartpromise': 3.1.7 | ||||
|       '@pushrocks/webrequest': 3.0.15 | ||||
|       '@pushrocks/webrequest': 3.0.16 | ||||
|     transitivePeerDependencies: | ||||
|       - supports-color | ||||
|     dev: true | ||||
| @@ -702,7 +702,7 @@ packages: | ||||
|       '@pushrocks/smartfeed': 1.0.11 | ||||
|       '@pushrocks/smartxml': 1.0.6 | ||||
|       '@pushrocks/smartyaml': 2.0.5 | ||||
|       '@pushrocks/webrequest': 3.0.15 | ||||
|       '@pushrocks/webrequest': 3.0.16 | ||||
|       '@tsclass/tsclass': 3.0.48 | ||||
|     transitivePeerDependencies: | ||||
|       - supports-color | ||||
| @@ -843,8 +843,8 @@ packages: | ||||
|       - utf-8-validate | ||||
|     dev: true | ||||
|  | ||||
|   /@pushrocks/webrequest/3.0.15: | ||||
|     resolution: {integrity: sha512-YrLEKMwUSc485RBRkAe8muoAY0ogLnyQ7SITt2CiLpirt5YchfpRKU2Yhz82Rma1Ptt8BNF1p8Uy+IIH/Hm6iw==} | ||||
|   /@pushrocks/webrequest/3.0.16: | ||||
|     resolution: {integrity: sha512-/GcRuMKepNpsNaaR5xdQlPKhne8D1hnXir8GZNda3wSog7C1oj9dMVkejDDuviJPkA6O4dDNFaHE4/XsLUM+Mg==} | ||||
|     dependencies: | ||||
|       '@adobe/fetch': 4.0.1 | ||||
|       '@pushrocks/smartdelay': 2.0.13 | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@pushrocks/webrequest', | ||||
|   version: '3.0.16', | ||||
|   version: '3.0.17', | ||||
|   description: 'securely request from browsers' | ||||
| } | ||||
|   | ||||
| @@ -29,7 +29,7 @@ export class WebRequest { | ||||
|     if (!smartenv.isBrowser) { | ||||
|       console.log('webrequest using node context.'); | ||||
|       this.polyfillStatusEvaluated = true; | ||||
|       const fetchMod = await smartenv.getSafeNodeModule('@adobe/helix-fetch'); | ||||
|       const fetchMod = await smartenv.getSafeNodeModule('@adobe/fetch'); | ||||
|       this.neededPolyfillsLoadedDeferred.resolve({ | ||||
|         fetch: fetchMod.fetch, | ||||
|         Response: fetchMod.Response, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user