redos-detector
Advanced tools
@@ -15,5 +15,7 @@ import { CharacterReaderValueSplitSubType, Stack } from './character-reader-level-0'; | ||
| offset: number; | ||
| stack: Stack; | ||
| type: 'null'; | ||
| } | { | ||
| offset: number; | ||
| stack: Stack; | ||
| type: 'start'; | ||
@@ -20,0 +22,0 @@ }>; |
@@ -6,2 +6,3 @@ import { Reader } from './reader'; | ||
| import { NodeExtra } from './node-extra'; | ||
| import { ZeroWidthEntry } from './character-reader/character-reader-level-1'; | ||
| export type CheckerInput = Readonly<{ | ||
@@ -23,3 +24,8 @@ atomicGroupOffsets: ReadonlySet<number>; | ||
| }>; | ||
| export type TrailEntryZeroWidth = { | ||
| entry: ZeroWidthEntry; | ||
| hash: string; | ||
| }; | ||
| export type TrailEntrySide = Readonly<{ | ||
| atomicGroupsEnteredTogether: ReadonlySet<string>; | ||
| characterGroups: CharacterGroups; | ||
@@ -35,2 +41,3 @@ contextTrail: string; | ||
| right: TrailEntrySide; | ||
| diverged: boolean; | ||
| }>; | ||
@@ -37,0 +44,0 @@ export type Trail = readonly TrailEntry[]; |
+10
-10
@@ -45,3 +45,3 @@ { | ||
| "dependencies": { | ||
| "regjsparser": "0.12.0" | ||
| "regjsparser": "0.13.0" | ||
| }, | ||
@@ -53,3 +53,3 @@ "devDependencies": { | ||
| "@types/jest": "29.5.14", | ||
| "@types/node": "20.17.10", | ||
| "@types/node": "25.2.3", | ||
| "@typescript-eslint/eslint-plugin": "6.21.0", | ||
@@ -59,16 +59,16 @@ "@typescript-eslint/parser": "6.21.0", | ||
| "eslint": "8.57.1", | ||
| "eslint-config-prettier": "9.1.0", | ||
| "eslint-plugin-redos-detector": "3.1.0", | ||
| "eslint-config-prettier": "9.1.2", | ||
| "eslint-plugin-redos-detector": "3.1.1", | ||
| "forkable-iterator": "1.1.2", | ||
| "husky": "8.0.3", | ||
| "jest": "29.7.0", | ||
| "lint-staged": "15.2.11", | ||
| "lint-staged": "15.5.2", | ||
| "micromatch": "4.0.8", | ||
| "prettier": "3.4.2", | ||
| "rollup": "4.29.1", | ||
| "ts-jest": "29.2.5", | ||
| "prettier": "3.8.1", | ||
| "rollup": "4.57.1", | ||
| "ts-jest": "29.4.6", | ||
| "tslib": "2.8.1", | ||
| "typescript": "5.7.2" | ||
| "typescript": "5.9.3" | ||
| }, | ||
| "version": "6.1.2" | ||
| "version": "6.1.4" | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
814782
3.04%18045
1.87%128
-1.54%+ Added
+ Added
- Removed
- Removed
Updated