Socket
Socket
Sign inDemoInstall

@secretlint/secretlint-rule-filter-comments

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@secretlint/secretlint-rule-filter-comments - npm Package Compare versions

Comparing version 6.2.4 to 7.0.0-beta.64

module/CommentState.d.ts

39

package.json
{
"name": "@secretlint/secretlint-rule-filter-comments",
"version": "6.2.4",
"version": "7.0.0-beta.64+e3cb33d1",
"description": "secretlint-disable comment directive.",

@@ -23,4 +23,15 @@ "keywords": [

"sideEffects": false,
"main": "lib/index.js",
"types": "lib/index.d.ts",
"type": "module",
"exports": {
".": {
"import": {
"types": "./module/index.d.ts",
"default": "./module/index.js"
},
"default": "./module/index.js"
},
"./package.json": "./package.json"
},
"main": "./module/index.js",
"types": "./module/index.d.ts",
"directories": {

@@ -32,3 +43,2 @@ "lib": "lib",

"bin/",
"lib/",
"module/",

@@ -38,9 +48,9 @@ "src/"

"scripts": {
"build": "tsc -p .",
"clean": "rimraf lib/ module/",
"build": "tsc --build",
"clean": "tsc --build --clean",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepublishOnly": "npm run clean && npm run build",
"test": "mocha \"test/**/*.ts\"",
"test": "node --loader ts-node/esm --test test/index.test.ts test/parseComment.test.ts",
"updateSnapshot": "UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -p . --watch"
"watch": "tsc --build --watch"
},

@@ -57,12 +67,11 @@ "prettier": {

"devDependencies": {
"@secretlint/secretlint-rule-pattern": "^6.2.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.18",
"mocha": "^10.2.0",
"@secretlint/secretlint-rule-pattern": "^7.0.0-beta.64+e3cb33d1",
"@secretlint/tester": "^7.0.0-beta.64+e3cb33d1",
"@types/node": "^20.3.3",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"typescript": "^4.9.4"
"typescript": "^5.1.6"
},
"packageManager": "yarn@1.22.19",
"engines": {

@@ -74,3 +83,3 @@ "node": "^14.13.1 || >=16.0.0"

},
"gitHead": "0b3c044ebe7db12d9e1e1dea53369ba050483a4b"
"gitHead": "e3cb33d11295d44ed17cf5129294bd09ce70c792"
}

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

import { SecretLintRuleCreator, SecretLintSourceCode } from "@secretlint/types";
import { parseComments } from "./parse-comment";
import { CommentState } from "./CommentState";
import type { SecretLintRuleCreator, SecretLintSourceCode } from "@secretlint/types";
import { parseComments } from "./parse-comment.js";
import { CommentState } from "./CommentState.js";

@@ -5,0 +5,0 @@ export const messages = {

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