Socket
Socket
Sign inDemoInstall

@takeshape/util

Package Overview
Dependencies
Maintainers
4
Versions
746
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@takeshape/util - npm Package Compare versions

Comparing version 10.7.6 to 10.8.0

dist/path-to-string.d.ts

1

dist/common.d.ts

@@ -26,2 +26,3 @@ export * from './types';

export * from './sort-object';
export * from './path-to-string';
//# sourceMappingURL=common.d.ts.map

@@ -280,2 +280,13 @@ "use strict";

});
});
var _pathToString = require("./path-to-string");
Object.keys(_pathToString).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _pathToString[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _pathToString[key];
}
});
});

26

dist/tracing.d.ts

@@ -0,4 +1,5 @@

import { type JsonValue } from 'type-fest';
export type ResolverArgs = Record<string, any>;
export type TraceRequest = {
body: unknown;
body?: unknown;
headers?: Record<string, string | string[] | undefined>;

@@ -16,5 +17,13 @@ method?: string;

};
export type OpExecutionDetails = {
input?: JsonValue;
output: JsonValue | undefined;
context: unknown;
};
export type OpsTrace = {
_opExecutionDetails: OpExecutionDetails;
} & Record<string, unknown>;
export type Execution = Record<string, unknown>;
export type TraceDetails = {
id?: string;
args?: ResolverArgs;
fieldName: string;

@@ -26,9 +35,12 @@ name: string;

result?: unknown;
returnType: string;
returnType?: string;
service?: string;
skipped?: boolean;
step: string;
staticContext: unknown;
execution: Execution;
isComposeStep: boolean;
isDelegated: boolean;
};
export type TraceReport = {
args?: ResolverArgs;
children: TraceReport[];

@@ -49,6 +61,8 @@ duration?: number;

step?: string;
steps?: TraceStepReport[];
steps?: TraceReport[];
delegatees?: TraceReport[];
traceClockStart?: number;
staticContext: unknown;
execution: Execution;
};
export type TraceStepReport = Pick<TraceReport, 'id' | 'name' | 'args' | 'step' | 'result' | 'duration' | 'service' | 'skipped' | 'request' | 'response' | 'fieldName'>;
//# sourceMappingURL=tracing.d.ts.map

@@ -25,2 +25,3 @@ export * from './types';

export * from './validation';
export * from './sort-object';
export * from './sort-object';
export * from './path-to-string';
{
"name": "@takeshape/util",
"version": "10.7.6",
"version": "10.8.0",
"description": "Shared utilities",

@@ -36,3 +36,3 @@ "homepage": "https://www.takeshape.io",

"url-parse": "^1.5.3",
"@takeshape/routing": "10.7.6"
"@takeshape/routing": "10.8.0"
},

@@ -50,3 +50,3 @@ "devDependencies": {

"stripe": "13.8.0",
"@takeshape/typescript-jest-junit-reporter": "10.7.6"
"@takeshape/typescript-jest-junit-reporter": "10.8.0"
},

@@ -53,0 +53,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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