New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jet-paths

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jet-paths - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

10

dist/cjs/setupPaths.d.ts

@@ -1,8 +0,8 @@

type TObject = {
[key: string]: string | TObject;
type TObj = {
[key: string]: string | TObj;
};
type Deep<T> = T extends {} ? {
type Deep<T extends TObj | string> = T extends string ? string : T extends TObj ? {
[K in keyof T]: Deep<T[K]>;
} : string;
declare function setupPaths<T extends TObject>(pathObj: T, baseKey?: string): Deep<T>;
} : unknown;
declare function setupPaths<T extends TObj>(pathObj: T, baseKey?: string): Deep<T>;
export default setupPaths;

@@ -1,8 +0,8 @@

type TObject = {
[key: string]: string | TObject;
type TObj = {
[key: string]: string | TObj;
};
type Deep<T> = T extends {} ? {
type Deep<T extends TObj | string> = T extends string ? string : T extends TObj ? {
[K in keyof T]: Deep<T[K]>;
} : string;
declare function setupPaths<T extends TObject>(pathObj: T, baseKey?: string): Deep<T>;
} : unknown;
declare function setupPaths<T extends TObj>(pathObj: T, baseKey?: string): Deep<T>;
export default setupPaths;

@@ -1,8 +0,8 @@

type TObject = {
[key: string]: string | TObject;
type TObj = {
[key: string]: string | TObj;
};
type Deep<T> = T extends {} ? {
type Deep<T extends TObj | string> = T extends string ? string : T extends TObj ? {
[K in keyof T]: Deep<T[K]>;
} : string;
declare function setupPaths<T extends TObject>(pathObj: T, baseKey?: string): Deep<T>;
} : unknown;
declare function setupPaths<T extends TObj>(pathObj: T, baseKey?: string): Deep<T>;
export default setupPaths;
{
"name": "jet-paths",
"version": "1.0.8",
"version": "1.0.9",
"description": "Preprend strings in an object with the value from a base-key.",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

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