Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
surol committed Nov 23, 2023
1 parent 79e1a5f commit 50f22a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@
"@run-z/eslint-config": "^3.5.0",
"@run-z/prettier-config": "^2.0.0",
"@run-z/project-config": "^0.20.1",
"@swc/core": "^1.3.92",
"@swc/core": "^1.3.99",
"@swc/jest": "^0.2.29",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.51.0",
"eslint-plugin-jest": "^27.4.2",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"eslint-plugin-jest": "^27.6.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^2.8.8",
"prettier-eslint-cli": "^7.1.0",
"rollup": "^4.0.2",
"rollup": "^4.5.1",
"run-z": "^2.0.0",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.1",
"typedoc": "^0.25.3",
"typescript": "~5.2.2"
},
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion src/symbols/es-namespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class EsNamespace implements EsNamingHost {
{
enclosing,
comment = enclosing
? `${enclosing}/${++enclosing.#nestedSeq}`
? `${enclosing}/${enclosing.#nextId()}`
: `Namespace #${++EsNamespace$seq}`,
}: EsNamespaceInit = {},
) {
Expand All @@ -49,6 +49,10 @@ export class EsNamespace implements EsNamingHost {
this.#comment = EsComment.from(comment);
}

#nextId(): number {
return ++this.#nestedSeq;
}

/**
* Always refers itself.
*/
Expand Down

0 comments on commit 50f22a7

Please sign in to comment.