Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ftconfig

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ftconfig - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

types/adapter.d.ts

2

dist/adapters/index.d.ts

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

import { IAdapter } from "../adapter.d";
import { IAdapter } from "../../types/adapter";
export declare const adapters: IAdapter[];
export declare function getAdapter(typeName: string): IAdapter<any>;
export declare function getMatchAdapter(filename: string): IAdapter<any>;
/// <reference types="node" />
import * as fs from "fs";
import { IReadFileOptions, IReadOptions } from "./options.d";
import { IReadFileOptions, IReadOptions } from "../types/options";
import { WriteConfig } from "./WriteConfig";

@@ -5,0 +5,0 @@ export declare const read: <T = any>(data: string, encodingOrOptions: string | IReadOptions) => WriteConfig<T>;

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

import { IWriteOptions } from "./options.d";
import { IWriteOptions } from "../types/options.d";
export declare class WriteConfig<T> {

@@ -3,0 +3,0 @@ private obj;

import { readdirSync } from "fs";
import { resolve } from "path";
import { IAdapter } from "../adapter.d";
import { IAdapter } from "../../types/adapter";

@@ -5,0 +5,0 @@ export const adapters: IAdapter[] = readdirSync(__dirname)

import * as fs from "fs";
import * as path from "path";
import { IAdapter } from "./adapter.d";
import { IAdapter } from "../types/adapter";
import { IReadFileOptions, IReadOptions } from "../types/options";
import { getAdapter, getMatchAdapter } from "./adapters";
import { IReadFileOptions, IReadOptions } from "./options.d";
import { WriteConfig } from "./WriteConfig";

@@ -7,0 +7,0 @@

import * as fs from "fs";
import makeDir = require("make-dir");
import * as path from "path";
import { IAdapter } from "./adapter.d";
import { IAdapter } from "../types/adapter";
import { IWriteOptions } from "../types/options.d";
import { getAdapter } from "./adapters";
import { IWriteOptions } from "./options.d";

@@ -8,0 +8,0 @@ export class WriteConfig<T> {

{
"name": "ftconfig",
"version": "1.1.7",
"version": "1.1.8",
"description": "F*ck the config",
"main": "dist/index.js",
"types": "lib/index.ts",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rimraf dist",
"clean": "rimraf dist/*",
"tsc": "tsc --locale zh-cn --pretty",

@@ -39,3 +39,4 @@ "build": "npm run tsc -- -P tsconfig.json",

"dist",
"lib"
"lib",
"types"
],

@@ -42,0 +43,0 @@ "author": "AryloYeung <arylo.open@gmail.com>",

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