Socket
Socket
Sign inDemoInstall

@smithy/smithy-client

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/smithy-client - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

3

dist-cjs/index.js

@@ -68,2 +68,3 @@ var __defProp = Object.defineProperty;

resolvedPath: () => resolvedPath,
serializeDateTime: () => serializeDateTime,
serializeFloat: () => serializeFloat,

@@ -1145,2 +1146,3 @@ splitEvery: () => splitEvery,

}, "serializeFloat");
var serializeDateTime = /* @__PURE__ */ __name((date) => date.toISOString(), "serializeDateTime");

@@ -1255,2 +1257,3 @@ // src/serde-json.ts

serializeFloat,
serializeDateTime,
_json,

@@ -1257,0 +1260,0 @@ splitEvery

@@ -14,1 +14,2 @@ export const serializeFloat = (value) => {

};
export const serializeDateTime = (date) => date.toISOString();

@@ -10,1 +10,6 @@ /**

export declare const serializeFloat: (value: number) => string | number;
/**
* @param date - to be serialized.
* @returns https://smithy.io/2.0/spec/protocol-traits.html#timestampformat-trait date-time format.
*/
export declare const serializeDateTime: (date: Date) => string;

@@ -10,1 +10,6 @@ /**

export declare const serializeFloat: (value: number) => string | number;
/**
* @param date - to be serialized.
* @returns https://smithy.io/2.0/spec/protocol-traits.html#timestampformat-trait date-time format.
*/
export declare const serializeDateTime: (date: Date) => string;

4

package.json
{
"name": "@smithy/smithy-client",
"version": "3.0.1",
"version": "3.1.0",
"scripts": {

@@ -26,3 +26,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",

"dependencies": {
"@smithy/middleware-endpoint": "^3.0.0",
"@smithy/middleware-endpoint": "^3.0.1",
"@smithy/middleware-stack": "^3.0.0",

@@ -29,0 +29,0 @@ "@smithy/protocol-http": "^4.0.0",

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