Socket
Socket
Sign inDemoInstall

@secretlint/types

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@secretlint/types - npm Package Compare versions

Comparing version 6.2.4 to 7.0.0-beta.64

lib/index.d.ts.map

21

lib/index.d.ts

@@ -1,10 +0,11 @@

export { SecretLintCoreIgnoreDescriptor, SecretLintCoreReportDescriptor, SecretLintCoreIgnoreMessage, SecretLintCoreResult, SecretLintCoreResultMessage, SecretLintCoreConfig, SecretLintRuleModule, SecretLintUnionRuleCreator, SecretLintCoreConfigUnionRule, SecretLintCoreConfigRule, SecretLintCoreConfigRulePreset, } from "./SecretLintCore";
export { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
export { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel";
export { SecretLintRuleIgnoreDescriptor, SecretLintRuleCreator, SecretLintRuleContext, SecretLintRuleCreatorOptions, SecretLintRuleReportDescriptor, SecretLintRuleReportHandler, SecretLintRuleContentType, } from "./SecretLintRule";
export { SecretLintRulePresetContext, SecretLintRulePresetCreator, SecretLintRulePresetCreatorOptions, } from "./SecretLintRulePreset";
export { SecretLintRawSource, SecretLintSourceIdentifierNode, SecretLintSourceNodeLocation, SecretLintSourceNodePosition, SecretLintSourceNodeRange, SecretLintSourceValueNode, } from "./SecretLintSource";
export { SecretLintCreateRuleMessageTranslator, SecretLintRuleMessageTranslate, SecretLintRuleLocaleTag, SecretLintRuleLocalizeMessageHandler, SecretLintRuleLocalizeMessageMulti, SecretLintRuleLocalizeMessages, SecretLintRuleMessageTranslateResult, SecretLintRuleLocalizeMessageProps, } from "./SecretLintRuleTranslator";
export { SecretLintSourceCode } from "./SecretLintSourceCode";
export { SecretLintConfigDescriptor, SecretLintConfigDescriptorRule, SecretLintConfigDescriptorRulePreset, } from "./SecretLintConfigDescriptor";
export { SecretLintFormatterOptions, SecretLintFormatter } from "./SecretLintFormatter";
export type { SecretLintCoreIgnoreDescriptor, SecretLintCoreReportDescriptor, SecretLintCoreIgnoreMessage, SecretLintCoreResult, SecretLintCoreResultMessage, SecretLintCoreConfig, SecretLintRuleModule, SecretLintUnionRuleCreator, SecretLintCoreConfigUnionRule, SecretLintCoreConfigRule, SecretLintCoreConfigRulePreset, } from "./SecretLintCore.js";
export type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";
export type { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel.js";
export type { SecretLintRuleIgnoreDescriptor, SecretLintRuleCreator, SecretLintRuleContext, SecretLintRuleCreatorOptions, SecretLintRuleReportDescriptor, SecretLintRuleReportHandler, SecretLintRuleContentType, } from "./SecretLintRule.js";
export type { SecretLintRulePresetContext, SecretLintRulePresetCreator, SecretLintRulePresetCreatorOptions, } from "./SecretLintRulePreset.js";
export type { SecretLintRawSource, SecretLintSourceIdentifierNode, SecretLintSourceNodeLocation, SecretLintSourceNodePosition, SecretLintSourceNodeRange, SecretLintSourceValueNode, } from "./SecretLintSource.js";
export type { SecretLintCreateRuleMessageTranslator, SecretLintRuleMessageTranslate, SecretLintRuleLocaleTag, SecretLintRuleLocalizeMessageHandler, SecretLintRuleLocalizeMessageMulti, SecretLintRuleLocalizeMessages, SecretLintRuleMessageTranslateResult, SecretLintRuleLocalizeMessageProps, } from "./SecretLintRuleTranslator.js";
export type { SecretLintSourceCode } from "./SecretLintSourceCode.js";
export type { SecretLintConfigDescriptor, SecretLintConfigDescriptorRule, SecretLintConfigDescriptorRulePreset, } from "./SecretLintConfigDescriptor.js";
export type { SecretLintFormatterOptions, SecretLintFormatter } from "./SecretLintFormatter.js";
//# sourceMappingURL=index.d.ts.map

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

import { SecretLintRuleCreatorOptions } from "./SecretLintRule";
import { SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset";
import { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
import type { SecretLintRuleCreatorOptions } from "./SecretLintRule.js";
import type { SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset.js";
import type { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";
export type SecretLintConfigDescriptorRule<Options = SecretLintRuleCreatorOptions> = {

@@ -74,1 +74,2 @@ /**

};
//# sourceMappingURL=SecretLintConfigDescriptor.d.ts.map

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

import { SecretLintRuleIgnoreDescriptor, SecretLintRuleReportDescriptor, SecretLintRuleCreator, SecretLintRuleCreatorOptions } from "./SecretLintRule";
import { SecretLintRawSource, SecretLintSourceNodeLocation } from "./SecretLintSource";
import { SecretLintRulePresetCreator, SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset";
import { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
import type { SecretLintRuleIgnoreDescriptor, SecretLintRuleReportDescriptor, SecretLintRuleCreator, SecretLintRuleCreatorOptions } from "./SecretLintRule.js";
import type { SecretLintRawSource, SecretLintSourceNodeLocation } from "./SecretLintSource.js";
import type { SecretLintRulePresetCreator, SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset.js";
import type { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";
export type SecretLintCoreConfigRule<Options = SecretLintRuleCreatorOptions> = {

@@ -116,1 +116,2 @@ /**

} & SecretLintRuleIgnoreDescriptor;
//# sourceMappingURL=SecretLintCore.d.ts.map

@@ -8,1 +8,2 @@ /**

};
//# sourceMappingURL=SecretlintCoreSharedOptions.d.ts.map

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

import { SecretLintCoreResult } from "./SecretLintCore";
import type { SecretLintCoreResult } from "./SecretLintCore.js";
export type SecretLintFormatterOptions = {

@@ -9,1 +9,2 @@ /**

export type SecretLintFormatter = (results: SecretLintCoreResult[], formatterConfig: SecretLintFormatterOptions) => string;
//# sourceMappingURL=SecretLintFormatter.d.ts.map

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

import { SecretLintSourceIdentifierNode } from "./SecretLintSource";
import { SecretLintRuleLocalizeMessages, SecretLintRuleMessageTranslate, SecretLintRuleMessageTranslateResult } from "./SecretLintRuleTranslator";
import { SecretLintSourceCode } from "./SecretLintSourceCode";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
import type { SecretLintSourceIdentifierNode } from "./SecretLintSource.js";
import type { SecretLintRuleLocalizeMessages, SecretLintRuleMessageTranslate, SecretLintRuleMessageTranslateResult } from "./SecretLintRuleTranslator.js";
import type { SecretLintSourceCode } from "./SecretLintSourceCode.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";
export type SecretLintRuleReportDescriptor = {

@@ -47,1 +47,2 @@ message: SecretLintRuleMessageTranslateResult<any>;

};
//# sourceMappingURL=SecretLintRule.d.ts.map

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

import { SecretLintCoreConfigRule } from "./SecretLintCore";
import { SecretLintRuleCreator, SecretLintRuleCreatorOptions } from "./SecretLintRule";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
import type { SecretLintCoreConfigRule } from "./SecretLintCore.js";
import type { SecretLintRuleCreator, SecretLintRuleCreatorOptions } from "./SecretLintRule.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";
export type SecretLintRulePresetContext = {

@@ -21,1 +21,2 @@ sharedOptions: SecretlintCoreSharedOptions;

};
//# sourceMappingURL=SecretLintRulePreset.d.ts.map

@@ -5,1 +5,2 @@ /**

export type SecretLintRuleSeverityLevel = "info" | "warning" | "error";
//# sourceMappingURL=SecretLintRuleSeverityLevel.d.ts.map

@@ -34,1 +34,2 @@ export type SecretLintRuleLocaleTag = "en" | "cs" | "de" | "es" | "fr" | "it" | "ja" | "ko" | "pl" | "ru" | "tr" | "zh-CN" | "zh-TW" | string;

export {};
//# sourceMappingURL=SecretLintRuleTranslator.d.ts.map

@@ -47,1 +47,2 @@ /**

};
//# sourceMappingURL=SecretLintSource.d.ts.map

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

import { SecretLintSourceNodeLocation, SecretLintSourceNodePosition, SecretLintSourceNodeRange } from "./SecretLintSource";
import type { SecretLintSourceNodeLocation, SecretLintSourceNodePosition, SecretLintSourceNodeRange } from "./SecretLintSource.js";
/**

@@ -37,1 +37,2 @@ * This class represent of source code.

}
//# sourceMappingURL=SecretLintSourceCode.d.ts.map
{
"name": "@secretlint/types",
"version": "6.2.4",
"description": "A typing package for @secretlint",
"keywords": [
"secretlint"
],
"homepage": "https://github.com/secretlint/secretlint/tree/master/packages/@secretlint/types/",
"bugs": {
"url": "https://github.com/secretlint/secretlint/issues"
"name": "@secretlint/types",
"version": "7.0.0-beta.64+e3cb33d1",
"description": "A typing package for @secretlint",
"keywords": [
"secretlint"
],
"homepage": "https://github.com/secretlint/secretlint/tree/master/packages/@secretlint/types/",
"bugs": {
"url": "https://github.com/secretlint/secretlint/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/secretlint/secretlint.git"
},
"license": "MIT",
"author": "azu",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": {
"types": "./module/index.d.ts",
"default": "./module/index.js"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"default": "./lib/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/secretlint/secretlint.git"
},
"license": "MIT",
"author": "azu",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"bin/",
"lib/",
"src/"
],
"scripts": {
"build": "tsc -p .",
"clean": "rimraf lib/",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepublish": "npm run --if-present build",
"test": "tsc -p test",
"watch": "tsc -p . --watch"
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.18",
"mocha": "^10.2.0",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"tsd": "^0.28.1",
"typescript": "^4.9.4"
},
"engines": {
"node": "^14.13.1 || >=16.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "0b3c044ebe7db12d9e1e1dea53369ba050483a4b"
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"module": "./module/index.js",
"types": "./module/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"bin/",
"lib/",
"module/",
"src/"
],
"scripts": {
"build": "tsc --build . && tsc --build ./tsconfig.cjs.json && tsconfig-to-dual-package",
"clean": "tsc --build --clean && tsc --build --clean ./tsconfig.cjs.json",
"prepublishOnly": "npm run clean && npm run build",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepublish": "npm run --if-present build",
"test": "tsc -p ./tsconfig.test.json"
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4
},
"devDependencies": {
"@types/node": "^20.3.3",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"tsconfig-to-dual-package": "^1.2.0",
"tsd": "^0.28.1",
"typescript": "^5.1.6"
},
"packageManager": "yarn@1.22.19",
"engines": {
"node": "^14.13.1 || >=16.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "e3cb33d11295d44ed17cf5129294bd09ce70c792"
}
// Core Interface
export {
export type {
SecretLintCoreIgnoreDescriptor,

@@ -15,7 +15,7 @@ SecretLintCoreReportDescriptor,

SecretLintCoreConfigRulePreset,
} from "./SecretLintCore";
export { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
export { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel";
} from "./SecretLintCore.js";
export type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";
export type { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel.js";
// Rule interface
export {
export type {
SecretLintRuleIgnoreDescriptor,

@@ -28,11 +28,11 @@ SecretLintRuleCreator,

SecretLintRuleContentType,
} from "./SecretLintRule";
} from "./SecretLintRule.js";
// Rule Preset
export {
export type {
SecretLintRulePresetContext,
SecretLintRulePresetCreator,
SecretLintRulePresetCreatorOptions,
} from "./SecretLintRulePreset";
} from "./SecretLintRulePreset.js";
// Source
export {
export type {
SecretLintRawSource,

@@ -44,4 +44,4 @@ SecretLintSourceIdentifierNode,

SecretLintSourceValueNode,
} from "./SecretLintSource";
export {
} from "./SecretLintSource.js";
export type {
SecretLintCreateRuleMessageTranslator,

@@ -55,11 +55,11 @@ SecretLintRuleMessageTranslate,

SecretLintRuleLocalizeMessageProps,
} from "./SecretLintRuleTranslator";
export { SecretLintSourceCode } from "./SecretLintSourceCode";
} from "./SecretLintRuleTranslator.js";
export type { SecretLintSourceCode } from "./SecretLintSourceCode.js";
// Config
export {
export type {
SecretLintConfigDescriptor,
SecretLintConfigDescriptorRule,
SecretLintConfigDescriptorRulePreset,
} from "./SecretLintConfigDescriptor";
} from "./SecretLintConfigDescriptor.js";
// Formatter
export { SecretLintFormatterOptions, SecretLintFormatter } from "./SecretLintFormatter";
export type { SecretLintFormatterOptions, SecretLintFormatter } from "./SecretLintFormatter.js";

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

import { SecretLintRuleCreatorOptions } from "./SecretLintRule";
import { SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset";
import { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
import type { SecretLintRuleCreatorOptions } from "./SecretLintRule.js";
import type { SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset.js";
import type { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";

@@ -6,0 +6,0 @@ export type SecretLintConfigDescriptorRule<Options = SecretLintRuleCreatorOptions> = {

// Core Input and Output
import {
import type {
SecretLintRuleIgnoreDescriptor,

@@ -7,7 +7,7 @@ SecretLintRuleReportDescriptor,

SecretLintRuleCreatorOptions,
} from "./SecretLintRule";
import { SecretLintRawSource, SecretLintSourceNodeLocation } from "./SecretLintSource";
import { SecretLintRulePresetCreator, SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset";
import { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
} from "./SecretLintRule.js";
import type { SecretLintRawSource, SecretLintSourceNodeLocation } from "./SecretLintSource.js";
import type { SecretLintRulePresetCreator, SecretLintRulePresetCreatorOptions } from "./SecretLintRulePreset.js";
import type { SecretLintRuleSeverityLevel } from "./SecretLintRuleSeverityLevel.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";

@@ -14,0 +14,0 @@ export type SecretLintCoreConfigRule<Options = SecretLintRuleCreatorOptions> = {

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

import { SecretLintCoreResult } from "./SecretLintCore";
import type { SecretLintCoreResult } from "./SecretLintCore.js";

@@ -3,0 +3,0 @@ export type SecretLintFormatterOptions = {

// Rule Interfaces
import { SecretLintSourceIdentifierNode } from "./SecretLintSource";
import {
import type { SecretLintSourceIdentifierNode } from "./SecretLintSource.js";
import type {
SecretLintRuleLocalizeMessages,
SecretLintRuleMessageTranslate,
SecretLintRuleMessageTranslateResult,
} from "./SecretLintRuleTranslator";
import { SecretLintSourceCode } from "./SecretLintSourceCode";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
} from "./SecretLintRuleTranslator.js";
import type { SecretLintSourceCode } from "./SecretLintSourceCode.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";

@@ -11,0 +11,0 @@ export type SecretLintRuleReportDescriptor = {

// Rule Interfaces
import { SecretLintCoreConfigRule } from "./SecretLintCore";
import { SecretLintRuleCreator, SecretLintRuleCreatorOptions } from "./SecretLintRule";
import { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions";
import type { SecretLintCoreConfigRule } from "./SecretLintCore.js";
import type { SecretLintRuleCreator, SecretLintRuleCreatorOptions } from "./SecretLintRule.js";
import type { SecretlintCoreSharedOptions } from "./SecretlintCoreSharedOptions.js";

@@ -6,0 +6,0 @@ export type SecretLintRulePresetContext = {

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

import {
import type {
SecretLintSourceNodeLocation,
SecretLintSourceNodePosition,
SecretLintSourceNodeRange,
} from "./SecretLintSource";
} from "./SecretLintSource.js";

@@ -7,0 +7,0 @@ /**

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