@serverless/sdk
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.3](https://github.com/serverless/console/compare/@serverless/sdk@0.5.2...@serverless/sdk@0.5.3) (2023-03-01) | ||
### Maintenance Improvements | ||
- Ensure full stack traces in debug mode ([cd87544](https://github.com/serverless/console/commit/cd87544c1ca822244ac5f5735469e78ccaf63664)) | ||
- Minimize needed debug logs verbosity ([2171f39](https://github.com/serverless/console/commit/2171f39638a095eb616d141f5e241fdaaff853a5)) | ||
### [0.5.2](https://github.com/serverless/console/compare/@serverless/sdk@0.5.1...@serverless/sdk@0.5.2) (2023-02-24) | ||
@@ -7,0 +14,0 @@ |
@@ -123,2 +123,5 @@ 'use strict'; | ||
// Ensure full stack traces in debug mode | ||
if (serverlessSdk._isDebugMode) Error.stackTraceLimit = Infinity; | ||
serverlessSdk._eventEmitter = require('./lib/emitter'); | ||
@@ -125,0 +128,0 @@ |
@@ -147,3 +147,7 @@ 'use strict'; | ||
const startTime = process.hrtime.bigint(); | ||
serverlessSdk._debugLog('HTTP request', shouldIgnoreFollowingRequest, new Error().stack); | ||
serverlessSdk._debugLog( | ||
'HTTP request', | ||
shouldIgnoreFollowingRequest, | ||
!shouldIgnoreFollowingRequest && new Error().stack | ||
); | ||
let [url, options] = args; | ||
@@ -266,3 +270,3 @@ | ||
if (!isInstalled) return; | ||
serverlessSdk._debugLog('ignore HTTP request', shouldIgnoreFollowingRequest, new Error().stack); | ||
serverlessSdk._debugLog('ignore HTTP request', shouldIgnoreFollowingRequest); | ||
shouldIgnoreFollowingRequest = true; | ||
@@ -269,0 +273,0 @@ process.nextTick(() => { |
{ | ||
"name": "@serverless/sdk", | ||
"repository": "serverless/console", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Serverless, Inc.", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71604
1396