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

@smithy/smithy-client

Package Overview
Dependencies
Maintainers
2
Versions
83
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.5.0 to 3.5.1

5

dist-cjs/index.js

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

// src/lazy-json.ts
function LazyJsonString(val) {
var LazyJsonString = /* @__PURE__ */ __name(function LazyJsonString2(val) {
const str = Object.assign(new String(val), {

@@ -994,4 +994,3 @@ deserializeJSON() {

return str;
}
__name(LazyJsonString, "LazyJsonString");
}, "LazyJsonString");
LazyJsonString.from = (object) => {

@@ -998,0 +997,0 @@ if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {

4

dist-es/lazy-json.js

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

export function LazyJsonString(val) {
export const LazyJsonString = function LazyJsonString(val) {
const str = Object.assign(new String(val), {

@@ -14,3 +14,3 @@ deserializeJSON() {

return str;
}
};
LazyJsonString.from = (object) => {

@@ -17,0 +17,0 @@ if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {

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

export interface LazyJsonString extends String {
new (s: string): typeof LazyJsonString;
/**

@@ -40,6 +39,10 @@ * @returns the JSON parsing of the string value.

*/
export declare function LazyJsonString(val: string): void;
export declare namespace LazyJsonString {
var from: (object: any) => LazyJsonString;
var fromObject: (object: any) => LazyJsonString;
}
export declare const LazyJsonString: {
(s: string): LazyJsonString;
new (s: string): LazyJsonString;
from(s: any): LazyJsonString;
/**
* @deprecated use #from.
*/
fromObject(s: any): LazyJsonString;
};

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

export interface LazyJsonString extends String {
new (s: string): typeof LazyJsonString;
/**

@@ -40,6 +39,10 @@ * @returns the JSON parsing of the string value.

*/
export declare function LazyJsonString(val: string): void;
export declare namespace LazyJsonString {
var from: (object: any) => LazyJsonString;
var fromObject: (object: any) => LazyJsonString;
}
export declare const LazyJsonString: {
(s: string): LazyJsonString;
new (s: string): LazyJsonString;
from(s: any): LazyJsonString;
/**
* @deprecated use #from.
*/
fromObject(s: any): LazyJsonString;
};
{
"name": "@smithy/smithy-client",
"version": "3.5.0",
"version": "3.5.1",
"scripts": {

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

"@smithy/core": "^2.5.5",
"@smithy/middleware-endpoint": "^3.2.5",
"@smithy/middleware-endpoint": "^3.2.6",
"@smithy/middleware-stack": "^3.0.11",

@@ -31,0 +31,0 @@ "@smithy/protocol-http": "^4.1.8",

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