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.6 to 1.0.7

dist/cjs/index.cjs

4

dist/jetPaths.d.ts
type TObject = {
[key: string]: string | TObject;
};
type Deep<T extends {}> = T extends string ? string : {
type Deep<T> = T extends {} ? {
[K in keyof T]: Deep<T[K]>;
};
} : string;
declare function jetPaths<T extends TObject>(pathObj: T, baseKey?: string): Deep<T>;
export default jetPaths;
{
"name": "jet-paths",
"version": "1.0.6",
"version": "1.0.7",
"description": "Preprend strings in an object with the value from a base-key.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"directories": {
"dist": "dist"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"test": "npm run build && npx ts-node ./test/index.ts",
"build": "rimraf dist && rollup -c rollup.config.mjs"
"build": "rimraf dist && rollup -c rollup.config.mjs",
"test": "node --experimental-specifier-resolution=node --loader ts-node/esm test/index.ts"
},
"exports": {
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.cjs"
},
"repository": {

@@ -38,9 +42,12 @@ "type": "git",

"devDependencies": {
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-terser": "^0.4.3",
"rimraf": "^5.0.1",
"rollup": "^3.28.1",
"typescript": "^5.1.6",
"tslib": "^2.6.2"
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"rimraf": "^6.0.1",
"rollup": "^4.19.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "^5.5.4"
}
}
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