Socket
Socket
Sign inDemoInstall

c12

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c12 - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

5

dist/index.d.ts

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

import { JITI } from 'jiti';
import { JITIOptions } from 'jiti/dist/types';
interface DotenvOptions {

@@ -61,2 +64,4 @@ /**

resolve?: (id: string, opts: LoadConfigOptions) => null | ResolvedConfig | Promise<ResolvedConfig | null>;
jiti?: JITI;
jitiOptions?: JITIOptions;
extend?: false | {

@@ -63,0 +68,0 @@ extendKey?: string | string[];

29

package.json
{
"name": "c12",
"version": "0.2.10",
"version": "0.2.11",
"description": "Smart Config Loader",

@@ -22,20 +22,21 @@ "repository": "unjs/c12",

"dependencies": {
"defu": "^6.0.0",
"dotenv": "^16.0.1",
"defu": "^6.1.0",
"dotenv": "^16.0.2",
"gittar": "^0.1.1",
"jiti": "^1.14.0",
"mlly": "^0.5.11",
"pathe": "^0.3.4",
"jiti": "^1.15.0",
"mlly": "^0.5.14",
"pathe": "^0.3.7",
"pkg-types": "^0.3.5",
"rc9": "^1.2.2"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
"c8": "latest",
"eslint": "latest",
"standard-version": "latest",
"typescript": "latest",
"unbuild": "latest",
"vitest": "latest"
"@nuxtjs/eslint-config-typescript": "^11.0.0",
"@vitest/coverage-c8": "^0.23.1",
"eslint": "^8.23.0",
"standard-version": "^9.5.0",
"typescript": "^4.8.2",
"unbuild": "^0.8.10",
"vitest": "^0.23.1"
},
"packageManager": "pnpm@7.9.0",
"packageManager": "pnpm@7.11.0",
"scripts": {

@@ -42,0 +43,0 @@ "build": "unbuild",

@@ -88,3 +88,3 @@ # c12

Load RC config from the user's home directory. Only enabled when `rcFile` is provided. Set to `false` to disable this functionality.
Load RC config from the workspace directory and user's home directory. Only enabled when `rcFile` is provided. Set to `false` to disable this functionality.

@@ -103,2 +103,10 @@ ### `dotenv`

### `jiti`
Custom [unjs/jiti](https://github.com/unjs/jiti) instance used to import configuration files.
### `jitiOptions`
Custom [unjs/jiti](https://github.com/unjs/jiti) options to import configuration files.
## Extending configuration

@@ -105,0 +113,0 @@

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