🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@smithy/core

Package Overview
Dependencies
Maintainers
2
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/core - npm Package Compare versions

Comparing version
3.29.8
to
3.30.0
+1
-0
dist-cjs/submodules/retry/index.browser.js

@@ -8,2 +8,3 @@ const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");

const CLOCK_SKEW_ERROR_CODES = [
"AccessDeniedException",
"AuthFailure",

@@ -10,0 +11,0 @@ "InvalidSignatureException",

@@ -10,2 +10,3 @@ const { Readable } = require("node:stream");

const CLOCK_SKEW_ERROR_CODES = [
"AccessDeniedException",
"AuthFailure",

@@ -12,0 +13,0 @@ "InvalidSignatureException",

+2
-2

@@ -778,3 +778,3 @@ const { HttpResponse } = require("@smithy/core/transport");

const format = /^-?\d*(\.\d+)?$/;
const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
class NumericValue {

@@ -787,3 +787,3 @@ string;

if (!format.test(string)) {
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
}

@@ -790,0 +790,0 @@ }

@@ -746,3 +746,3 @@ const { createHmac, createHash, getRandomValues } = require("node:crypto");

const format = /^-?\d*(\.\d+)?$/;
const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
class NumericValue {

@@ -755,3 +755,3 @@ string;

if (!format.test(string)) {
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
}

@@ -758,0 +758,0 @@ }

@@ -778,3 +778,3 @@ const { HttpResponse } = require("@smithy/core/transport");

const format = /^-?\d*(\.\d+)?$/;
const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
class NumericValue {

@@ -787,3 +787,3 @@ string;

if (!format.test(string)) {
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
}

@@ -790,0 +790,0 @@ }

export const CLOCK_SKEW_ERROR_CODES = [
"AccessDeniedException",
"AuthFailure",

@@ -3,0 +4,0 @@ "InvalidSignatureException",

@@ -1,2 +0,2 @@

const format = /^-?\d*(\.\d+)?$/;
const format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
export class NumericValue {

@@ -9,3 +9,3 @@ string;

if (!format.test(string)) {
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
}

@@ -12,0 +12,0 @@ }

@@ -7,2 +7,3 @@ /**

* correction.
*
*/

@@ -9,0 +10,0 @@ export declare const CLOCK_SKEW_ERROR_CODES: string[];

@@ -7,2 +7,3 @@ /**

* correction.
*
*/

@@ -9,0 +10,0 @@ export declare const CLOCK_SKEW_ERROR_CODES: string[];

{
"name": "@smithy/core",
"version": "3.29.8",
"version": "3.30.0",
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",