diff --git a/package.json b/package.json index a911319..97a556f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@list-kr/microshield-token-parser", "type": "module", - "version": "2.0.1", + "version": "2.0.2", "license": "Apache-2.0", "scripts": { "build": "pkgroll --src sources", @@ -42,10 +42,10 @@ "typescript": "^5.5.4" }, "devDependencies": { - "@types/eslint": "^9.6.0", - "@types/node": "^22.2.0", - "eslint": "^9.8.0", - "tsx": "^4.17.0", - "typescript-eslint": "^8.0.1" + "@types/eslint": "^9.6.1", + "@types/node": "^22.5.4", + "eslint": "^9.9.1", + "tsx": "^4.19.0", + "typescript-eslint": "^8.4.0" } } diff --git a/sources/extractor.ts b/sources/extractor.ts index 4b8f588..1297d89 100644 --- a/sources/extractor.ts +++ b/sources/extractor.ts @@ -83,6 +83,6 @@ export class TokenExtractor { } }) - return Tokens.join('') + return Tokens.filter((Token, Index) => Index < 10).join('') } } \ No newline at end of file