@vendure/ngx-translate-extract
Advanced tools
Comparing version 9.1.0 to 9.1.1
@@ -69,3 +69,3 @@ import { tsquery } from '@phenomnomnominal/tsquery'; | ||
export function findClassPropertiesConstructorParameterByType(node, type) { | ||
const query = `Constructor Parameter:has(TypeReference > Identifier[name="${type}"]):has(PublicKeyword,ProtectedKeyword,PrivateKeyword) > Identifier`; | ||
const query = `Constructor Parameter:has(TypeReference > Identifier[name="${type}"]):has(PublicKeyword,ProtectedKeyword,PrivateKeyword,ReadonlyKeyword) > Identifier`; | ||
const result = tsquery(node, query); | ||
@@ -72,0 +72,0 @@ return result.map((n) => n.text); |
{ | ||
"name": "@vendure/ngx-translate-extract", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"description": "Extract strings from projects using ngx-translate", | ||
@@ -11,3 +11,3 @@ "author": "Kim Biesbjerg <kim@biesbjerg.com>", | ||
"watch": "rimraf ./dist && tsc --watch", | ||
"test": "ts-mocha -p tsconfig.spec.json tests/**/*.spec.ts", | ||
"test": "vitest", | ||
"lint": "eslint ./src/**/*.ts" | ||
@@ -21,4 +21,4 @@ }, | ||
"gettext-parser": "^4.2.0", | ||
"glob": "^10.3.0", | ||
"json5": "^2.2.3", | ||
"glob": "^10.3.0", | ||
"json5": "^2.2.3", | ||
"tsconfig": "^7.0.0", | ||
@@ -30,6 +30,3 @@ "yargs": "^17.7.2" | ||
"@types/braces": "^3.0.4", | ||
"@types/chai": "^4.3.11", | ||
"@types/gettext-parser": "^4.0.4", | ||
"@types/glob": "^8.0.0", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^18", | ||
@@ -40,12 +37,9 @@ "@types/yargs": "^17.0.32", | ||
"@typescript-eslint/parser": "^6.12.0", | ||
"chai": "^4.3.10", | ||
"eslint": "^8.32.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.7.1", | ||
"pretty-quick": "^3.1.3", | ||
"rimraf": "^5.0.5", | ||
"ts-mocha": "^10.0.0", | ||
"ts-node": "^10.4.0", | ||
"typescript": "~5.2.2" | ||
"typescript": "~5.2.2", | ||
"vitest": "^1.3.1" | ||
}, | ||
@@ -52,0 +46,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15
131053