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

explore-config

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

explore-config - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

2

dist/index.js

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

var y=Object.create;var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var O=(o,t)=>{for(var r in t)d(o,r,{get:t[r],enumerable:!0})},c=(o,t,r,f)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of k(t))!v.call(o,n)&&n!==r&&d(o,n,{get:()=>t[n],enumerable:!(f=C(t,n))||f.enumerable});return o};var p=(o,t,r)=>(r=o!=null?y(w(o)):{},c(t||!o||!o.__esModule?d(r,"default",{value:o,enumerable:!0}):r,o)),b=o=>c(d({},"__esModule",{value:!0}),o);var $={};O($,{default:()=>m,exploreConfigPath:()=>a,exploreResolvedConfigPath:()=>F});module.exports=b($);var u=p(require("@techor/log")),g=require("cross-import"),P=p(require("@techor/extend"));var l=p(require("fast-glob"));function a(o,t){return l.default.sync(o,t)[0]}function m(o,t){t=(0,P.default)({cwd:process.cwd(),keys:["config","default"],on:{found:e=>u.default.ok`**${e}** config file found`,notFound:()=>u.default.i`No **${o}** config file found`}},t);let{cwd:r,on:f,keys:n}=t,i;try{let e=a(o,t);if(e){let s=(0,g.crossImport)(e,{cwd:r});for(let h of n)if(i=s[h],i)break;i||(i=s),f.found?.(e)}else f.notFound?.()}catch(e){u.default.error(e)}return i}var x=p(require("upath"));function F(o,t){let r=a(o,t);return r?x.default.resolve(t.cwd,r):""}0&&(module.exports={exploreConfigPath,exploreResolvedConfigPath});
var y=Object.create;var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var O=(o,t)=>{for(var r in t)d(o,r,{get:t[r],enumerable:!0})},c=(o,t,r,f)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of k(t))!v.call(o,n)&&n!==r&&d(o,n,{get:()=>t[n],enumerable:!(f=C(t,n))||f.enumerable});return o};var p=(o,t,r)=>(r=o!=null?y(w(o)):{},c(t||!o||!o.__esModule?d(r,"default",{value:o,enumerable:!0}):r,o)),b=o=>c(d({},"__esModule",{value:!0}),o);var $={};O($,{default:()=>m,exploreConfigPath:()=>a,exploreResolvedConfigPath:()=>F});module.exports=b($);var u=p(require("@techor/log")),g=require("cross-import"),P=p(require("@techor/extend"));var l=p(require("fast-glob"));function a(o,t){return l.default.sync(o,t)[0]}function m(o,t){t=(0,P.default)({cwd:process.cwd(),keys:["config","default"],on:{found:e=>u.default.ok`**${e}** config file found`,notFound:()=>u.default.i`No **${o}** config file found`}},t);let{cwd:r,on:f,keys:n}=t,i;try{let e=a(o,t);if(e){let s=(0,g.crossImport)(e,{cwd:r});for(let h of n)if(i=s[h],i)break;i||(i=s),f.found?.(e)}else f.notFound?.()}catch(e){u.default.error(e)}return i}var x=p(require("upath"));function F(o,t){let r=a(o,t);return r?x.default.resolve(t?.cwd||"",r):""}0&&(module.exports={exploreConfigPath,exploreResolvedConfigPath});
//# sourceMappingURL=index.js.map

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

{"name":"explore-config","scripts":{"build:cjs":"esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:@techor/log --external:@techor/extend --external:cross-import --external:upath","build:type":"tsc --emitDeclarationOnly --preserveWatchOutput","build":"npm run build:cjs && npm run build:type","dev":"conc 'npm:build:* -- --watch'","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Explore multi-format JavaScript module configuration","author":{"name":"Aron","email":"i@aron.tw","url":"https://aron.tw"},"homepage":"https://github.com/1aron/techor","bugs":{"url":"https://github.com/1aron/techor/issues"},"repository":{"type":"git","url":"https://github.com/1aron/techor.git","directory":"packages/explore-config"},"keywords":["config","esm","cjs","ts","configuration","read","find","explore"],"sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.ts"}},"files":["dist"],"publishConfig":{"access":"public"},"dependencies":{"@techor/extend":"^2.2.2","@techor/log":"^2.2.2","cross-import":"^2.2.2","fast-glob":"^3.2.12","upath":"^2.0.1"},"version":"2.2.2"}
{"name":"explore-config","scripts":{"build:cjs":"esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:@techor/log --external:@techor/extend --external:cross-import --external:upath","build:type":"tsc --emitDeclarationOnly --preserveWatchOutput","build":"npm run build:cjs && npm run build:type","dev":"conc 'npm:build:* -- --watch'","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"Explore multi-format JavaScript module configuration","author":{"name":"Aron","email":"i@aron.tw","url":"https://aron.tw"},"homepage":"https://github.com/1aron/techor","bugs":{"url":"https://github.com/1aron/techor/issues"},"repository":{"type":"git","url":"https://github.com/1aron/techor.git","directory":"packages/explore-config"},"keywords":["config","esm","cjs","ts","configuration","read","find","explore"],"sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","types":"./dist/index.d.ts"}},"files":["dist"],"publishConfig":{"access":"public"},"dependencies":{"@techor/extend":"^2.2.3","@techor/log":"^2.2.3","cross-import":"^2.2.3","fast-glob":"^3.2.12","upath":"^2.0.1"},"version":"2.2.3"}

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