@tediousjs/connection-string
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -6,4 +6,4 @@ export declare enum SchemaTypes { | ||
} | ||
declare type Coercer = (val: string) => string | number | boolean | null; | ||
declare type Validator = (val: string | number | boolean) => boolean; | ||
type Coercer = (val: string) => string | number | boolean | null; | ||
type Validator = (val: string | number | boolean) => boolean; | ||
export interface SchemaItem { | ||
@@ -22,4 +22,4 @@ type: SchemaTypes; | ||
export declare const SCHEMA: SchemaDefinition; | ||
export default function parseSqlConnectionString(connectionString: string, canonicalProps?: boolean, allowUnknown?: boolean, strict?: boolean, schema?: SchemaDefinition): {}; | ||
export default function parseSqlConnectionString(connectionString: string, canonicalProps?: boolean, allowUnknown?: boolean, strict?: boolean, schema?: SchemaDefinition): Record<string, string | number | boolean>; | ||
export {}; | ||
//# sourceMappingURL=sql-connection-string.d.ts.map |
{ | ||
"name": "@tediousjs/connection-string", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "SQL ConnectionString parser", | ||
@@ -20,2 +20,3 @@ "repository": { | ||
"test": "mocha -r ts-node/register test/**/*", | ||
"test:coverage": "nyc --reporter=cobertura", | ||
"test:workflow": "npm run test --silent -- --forbid-only" | ||
@@ -37,2 +38,11 @@ }, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.7", | ||
"@commitlint/config-conventional": "^17.6.7", | ||
"@istanbuljs/nyc-config-typescript": "^1.0.2", | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/commit-analyzer": "^10.0.1", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^9.0.4", | ||
"@semantic-release/npm": "^10.0.4", | ||
"@semantic-release/release-notes-generator": "^11.0.4", | ||
"@tsconfig/node10": "^1.0.8", | ||
@@ -42,13 +52,12 @@ "@types/chai": "^4.3.1", | ||
"@types/node": "^10.17.60", | ||
"@typescript-eslint/eslint-plugin": "^5.21.0", | ||
"@typescript-eslint/parser": "^5.21.0", | ||
"@typescript-eslint/eslint-plugin": "^6.2.1", | ||
"@typescript-eslint/parser": "^6.2.1", | ||
"chai": "^4.2.0", | ||
"eslint": "^8.14.0", | ||
"mocha": "^9.2.2", | ||
"eslint": "^8.46.0", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"semantic-release": "^21.0.7", | ||
"ts-node": "^10.7.0", | ||
"tslint": "^6.1.3", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^4.1.3" | ||
}, | ||
"dependencies": {} | ||
} | ||
} |
# Connection String Parser | ||
[![npm version](https://badge.fury.io/js/@tediousjs%2Fconnection-string.svg)](https://www.npmjs.com/package/@tediousjs/connection-string) | ||
[![Lint, Test & Release](https://github.com/tediousjs/connection-string/actions/workflows/nodejs.yml/badge.svg)](https://github.com/tediousjs/connection-string/actions/workflows/nodejs.yml) | ||
This node library is designed to allow the parsing of Connection Strings see https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlconnection.connectionstring | ||
@@ -4,0 +7,0 @@ |
Sorry, the diff of this file is not supported yet
32500
66
22