Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serverless/sdk

Package Overview
Dependencies
Maintainers
6
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/sdk - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

### [0.5.4](https://github.com/serverless/console/compare/@serverless/sdk@0.5.3...@serverless/sdk@0.5.4) (2023-03-29)
### Bug Fixes
- Fix resolution of url data from `options.path` in HTTP instrumentation ([e5a4ccd](https://github.com/serverless/console/commit/e5a4ccda713f02de771bdc381bb72e5ee39c374a))
### [0.5.3](https://github.com/serverless/console/compare/@serverless/sdk@0.5.2...@serverless/sdk@0.5.3) (2023-03-01)

@@ -7,0 +13,0 @@

4

docs/sdk.md

@@ -34,3 +34,3 @@ # Serverless SDK

- `tags` _(object)_ - User tags object. Tag names can contain alphanumeric (both lower and upper case), `-`, `_` and `.` characters. Values can be _string_, _boolean_, _number_, Date or Array containing any values of prior listed types
- `fingerprint` _(string)_ - Console UI groups common errors by the _fingerprint_, which by default is derived from the error stack trace. This can be overriden by passing custom `fingeprint` value
- `fingerprint` _(string)_ - Console UI groups common errors by the _fingerprint_, which by default is derived from the error stack trace. This can be overriden by passing custom `fingerprint` value

@@ -44,3 +44,3 @@ ### `.captureWarning(message[, options])`

- `tags` _(object)_ - User tags object. Tag names can contain alphanumeric (both lower and upper case), `-`, `_` and `.` characters. Values can be _string_, _boolean_, _number_, Date or Array containing any values of prior listed types
- `fingerprint` _(string)_ - Console UI groups common warnings by the _fingerprint_, which by default is derived from its message. This can be overriden by passing custom `fingeprint` value
- `fingerprint` _(string)_ - Console UI groups common warnings by the _fingerprint_, which by default is derived from its message. This can be overriden by passing custom `fingerprint` value

@@ -47,0 +47,0 @@ ### `.setTag(name, value)`

@@ -167,6 +167,16 @@ 'use strict';

--cbIndex;
options = url || {};
options = { ...url };
} else {
options = Object.assign(url || {}, options);
options = { ...url, ...options };
}
if (options.path) {
try {
const resolvedUrl = new URL(options.path, 'http://localhost');
options.pathname = resolvedUrl.pathname;
options.search = resolvedUrl.search;
} catch {
shouldIgnoreFollowingRequest = false;
return originalRequest.apply(this, args);
}
}

@@ -173,0 +183,0 @@ const originalCb = args[cbIndex];

{
"name": "@serverless/sdk",
"repository": "serverless/console",
"version": "0.5.3",
"version": "0.5.4",
"author": "Serverless, Inc.",

@@ -6,0 +6,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc