nanos-lint 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action.yml +1 -1
- package/dist/{cli-CeNxOiST.js → cli-I16SeKRK.js} +25 -2
- package/dist/cli-I16SeKRK.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/dist/cli-CeNxOiST.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as runCLI, n as createProgram, r as isDirectExecution, t as collectIgnorePatterns } from "./cli-
|
|
1
|
+
import { i as runCLI, n as createProgram, r as isDirectExecution, t as collectIgnorePatterns } from "./cli-I16SeKRK.js";
|
|
2
2
|
export { collectIgnorePatterns, createProgram, isDirectExecution, runCLI };
|
package/dist/index.d.ts
CHANGED
|
@@ -406,6 +406,8 @@ export declare function validateArchiveMembers(archivePath: string): Promise<{
|
|
|
406
406
|
* user-supplied `LUALS_BIN` may legitimately be a small wrapper script.
|
|
407
407
|
*/
|
|
408
408
|
export declare const MIN_DOWNLOADED_BINARY_SIZE_BYTES = 100000;
|
|
409
|
+
/** Propagates blocked LuaLS execution or cache access without triggering repair. */
|
|
410
|
+
export declare function rethrowLuaLSPermissionError(err: unknown, targetPath: string, operation?: "execute" | "access"): void;
|
|
409
411
|
/**
|
|
410
412
|
* Verifies that a downloaded or cached LuaLS binary exists, has non-trivial
|
|
411
413
|
* size, and is executable.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["_$env_paths0.Paths"],"sources":["../src/types.ts","../src/config.ts","../src/annotations-realms.ts","../src/realms.ts","../src/luals/version.ts","../src/luals/platform.ts","../src/luals/cache.ts","../src/luals/validation.ts","../src/download-guard.ts","../src/luals/download.ts","../src/luals/files.ts","../src/luals/runner.ts","../src/reporter.ts","../node_modules/env-paths/index.d.ts","../src/paths.ts","../src/annotations-metadata.ts","../src/annotations-download.ts","../src/annotations.ts","../src/logger.ts","../src/errors.ts","../src/cache-status.ts","../src/target-resolver.ts","../src/deps.ts","../src/terminal-progress.ts"],"x_google_ignoreList":[13],"mappings":";;YAGY;YACA;iBAEK;EACf;IACE;IACA;;EAEF;IACE;IACA;;;iBAIa;EACf,OAAO;EACP,UAAU;EACV;EACA;EACA;;YAGU,mBAAmB,eAAe;iBAE7B;;EAEf;;EAEA;EACA,aAAa;EACb;EACA;EACA;EACA;EACA;EACA;;EAEA;;iBAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;;;YAIH;;iBAGK;;EAEf,SAAS,eAAe;;EAExB;GACC;;iBAGc;EACf;EACA;IACE;IACA;IACA,UAAU;KACT;;EAEH;IACE;IACA;IACA;KACC;;EAEH;IACE;KACC;;EAEH;IACE;IACA;IACA;IACA,WAAW;IACX,mBAAmB;KAClB;;EAEH,QAAQ;GACP;;;;;;wBAOa,cAAc;;;;;;wBCpFd;;wBAYA;;;;;wBAmBA;;wBAKA;;;;wBAQA,kBAAkB;;wBAMlB,WAAW,aAAa,eAAe;;wBAcvC,eAAe,mBAAmB;;;;;;;;;wBAgClC,qBAAqB;iBAQpB;EACf;EACA;;;;;;;;qBASW,8BAA8B;;;;;;;;;;;wBA2E3B,aACd,MAAM,aACN,WAAU,aACV,0BACA,UAAU,qBACT;iBA0Jc;EACf;EACA;EACA;EACA;;;;;;;wBAQc,eAAe,uBAAuB,4BAA4B;;wBAmBlE,gBAAgB,QAAQ;;;;;wBAexB,qBACd,uBACA,2BACA,UAAU,gCACT;;;;;wBA+Da,uBACd,uBACA,2BACA,UAAU;EACP;EAAoB;;;iBAQR;EACf;EACA;;;qBAIW,wBAAwB,cAAc;iBAMlC;;EAEf;EACA,UAAU;;;;;;;;;;;wBAuBI,qBAAqB,YAAY,cAAc;iBAuC9C;EACf;EACA;;;;;wBAMc,cAAc,uBAAuB,UAAU;;;;KCrjBnD;;;;;;;;;;wBA8PI,wBACd,cACA;EACG;EAAgB;;UA+BJ;EACf;EACA;;;;;;;wBAwBc,2BACd,yBACA,oBACC;;;;YCpSS,yBAAyB;iBAEpB;EACf;EACA;;EAEA;;EAEA;;;;;;;wBAcc,kBACd,cACA,UAAU,gBACV,yBACC;iBA0Cc;EACf,OAAO;EACP;;EAEA,aAAa;;iBAGE;EACf;EACA,QAAQ;EACR;;iBAGe;EACf;EACA,YAAY;EACZ,WAAW;EACX;EACA;EACA;EACA;EACA;;;;;;;wBAiDc,eAAe,SAAS,wBAAwB;;;;;;wBA6J1C,mBACpB,MAAM,gBACN,oBACA,SAAS,eACR,QAAQ;;;qBCzUE;qBACA;;;;;wBAaG,qBAAqB;;;;;wBAkCf,qCAAqC;;;;;wBA2CrC,6BAA6B;;;;;;wBAU7B,oBAAoB,mBAAmB;;;iBCrG5C;EACf;EACA;EACA;EACA;;;wBAIc,gBAAgB,mBAA2C;;;;wBCD3D;;;;;wBAQA,YACd,kBACA;qBAKW;iBAEI;EACf;EACA;EACA;;;;;wBAMc,WAAW,IAAG;;wBAUd,qBAAqB;;wBAKrB,kBACd,wBACC;;;;;wBA4Ca,mBACd,UAAU,eACV;;;;;wBAgBc,2BACd;;;;;wBA8Bc,wBAAwB;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["_$env_paths0.Paths"],"sources":["../src/types.ts","../src/config.ts","../src/annotations-realms.ts","../src/realms.ts","../src/luals/version.ts","../src/luals/platform.ts","../src/luals/cache.ts","../src/luals/validation.ts","../src/download-guard.ts","../src/luals/download.ts","../src/luals/files.ts","../src/luals/runner.ts","../src/reporter.ts","../node_modules/env-paths/index.d.ts","../src/paths.ts","../src/annotations-metadata.ts","../src/annotations-download.ts","../src/annotations.ts","../src/logger.ts","../src/errors.ts","../src/cache-status.ts","../src/target-resolver.ts","../src/deps.ts","../src/terminal-progress.ts"],"x_google_ignoreList":[13],"mappings":";;YAGY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|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DOWNLOAD_TIMEOUT_MS, $t as
|
|
2
|
-
export { ALLOWED_DOWNLOAD_DOMAINS, ANNOTATIONS_FILENAME, AnnotationsError, CacheError, ConfigError, DEFAULT_LOG_LEVEL, DEFAULT_LUALS_VERSION, DEFAULT_REALM_MAPPINGS, DOCGEN_BRANCH, DOCGEN_REPO, DOWNLOAD_TIMEOUT_MS, FALLBACK_LUALS_VERSION, GITHUB_COMMITS_API, LOG_LEVELS, LOG_LEVEL_PRIORITY, LUALS_METADATA_FILENAME, Logger, LuaLSError, MAX_ANNOTATIONS_SIZE_BYTES, MAX_ARCHIVE_MEMBER_COUNT, MAX_ARCHIVE_SIZE_BYTES, MAX_COMMIT_JSON_SIZE_BYTES, MAX_DECOMPRESSED_SIZE_BYTES, METADATA_FILENAME, MIN_ANNOTATIONS_SIZE_BYTES, MIN_DOWNLOADED_BINARY_SIZE_BYTES, NanosLintError, PROGRESS_MILESTONES, PROGRESS_THROTTLE_MS, RAW_ANNOTATIONS_URL, SPINNER_FRAMES, VALID_LUALS_DIAGNOSTIC_CODES, assertValidLuaLSBinary, buildWorkspaceConfig, cleanCache, cleanupOldCachedLuaLSVersions, collectDeps, collectIgnorePatterns, collectRealmFiles, computeFileSha256, computeUnrequestedExclusions, countCheckedFiles, createProgram, createProgressBar, createSpinner, deriveRealmAnnotationFiles, downloadAndCacheAnnotations, downloadAndExtractLuaLS, escapePowerShellSingleQuote, fetchLatestCommitId, fetchLatestLuaLSVersionFromGitHub, fetchRawAnnotationsContent, fileUriToPath, filterReportByTargetPaths, findCommonAncestorDirectory, findExistingLuaLSDir, findProjectRoot, formatBytes, formatCacheStatusPretty, formatGitHubAnnotations, formatPretty, formatProblemSummary, formatReport, formatSeverityBadge, formatTransferSummary, getAnnotationsCacheDir, getAnnotationsMetadataFilePath, getBaseLuaLSCacheDir, getCacheDir, getCacheStatus, getCachedAnnotationsFilePath, getCanonicalPath, getColors, getDefaultAnnotationsPath, getDefaultTemplatePath, getDefinitionsDir, getDirectorySize, getIsoWeek, getLuaLSMetadataPath, getPackageRoot, getPlatformInfo, getProgressMode, getRawAnnotationsUrl, getTarBinary, getTodayDateString, initWorkspace, inspectZipMembers, isAllowedDownloadUrl, isAnnotationsValid, isBinaryRunnable, isBinaryValid, isDirectExecution, isFilesystemRoot, isGzipArchive, isProgressInteractive, isValidLogLevel, isZipArchive, limitDownloadStream, listCachedLuaLSVersionDirs, listCachedLuaLSVersions, listCheckedFiles, loadConfigFile, loadUserConfig, logger, matchesTargetPaths, mergeConfigs, parseJsonc, parseLogLevel, parseTarTvSize, planRealmCheck, pluralize, readAnnotationsMetadata, readLuaLSMetadata, resolveAnnotations, resolveCheckTargets, resolveLatestLuaLSVersion, resolveLuaLSBinary, resolveLuaLSVersion, resolvePackageDependencies, resolveRealmMappings, resolveWorkspaceConfig, restoreTerminal, runCLI, runLuaLSCheck, runRealmAwareCheck, sanitizeLuaLSVersion, setProgressMode, shouldEnableColor, splitAnnotationsByRealm, stripJsonComments, stripTrailingSlashes, systemPaths, trackDownloadProgress, updateLastCheckedDate, validateArchiveMembers, writeLuaLSMetadata, writeTempConfig };
|
|
1
|
+
import { $ as DOWNLOAD_TIMEOUT_MS, $t as buildWorkspaceConfig, A as formatProblemSummary, An as parseLogLevel, At as getPlatformInfo, B as resolvePackageDependencies, Bt as splitAnnotationsByRealm, C as getCachedAnnotationsFilePath, Cn as fileUriToPath, Ct as isBinaryRunnable, D as updateLastCheckedDate, Dn as Logger, Dt as parseTarTvSize, E as readAnnotationsMetadata, En as LOG_LEVEL_PRIORITY, Et as isZipArchive, F as shouldEnableColor, Ft as resolveLuaLSVersion, G as computeUnrequestedExclusions, Gt as createSpinner, H as runLuaLSCheck, Ht as PROGRESS_THROTTLE_MS, I as collectRealmFiles, It as sanitizeLuaLSVersion, J as findProjectRoot, Jt as isProgressInteractive, K as filterReportByTargetPaths, Kt as formatTransferSummary, L as planRealmCheck, Lt as ALLOWED_DOWNLOAD_DOMAINS, M as formatSeverityBadge, Mt as FALLBACK_LUALS_VERSION, N as getColors, Nt as fetchLatestLuaLSVersionFromGitHub, O as formatGitHubAnnotations, On as isValidLogLevel, Ot as rethrowLuaLSPermissionError, P as pluralize, Pt as resolveLatestLuaLSVersion, Q as resolveCheckTargets, Qt as VALID_LUALS_DIAGNOSTIC_CODES, R as runRealmAwareCheck, Rt as isAllowedDownloadUrl, S as getAnnotationsMetadataFilePath, Sn as systemPaths, St as inspectZipMembers, T as isAnnotationsValid, Tn as LOG_LEVELS, Tt as isGzipArchive, U as countCheckedFiles, Ut as SPINNER_FRAMES, V as resolveLuaLSBinary, Vt as PROGRESS_MILESTONES, W as listCheckedFiles, Wt as createProgressBar, X as isFilesystemRoot, Xt as setProgressMode, Y as getCanonicalPath, Yt as restoreTerminal, Z as matchesTargetPaths, Zt as DEFAULT_REALM_MAPPINGS, _ as MAX_ANNOTATIONS_SIZE_BYTES, _n as LuaLSError, _t as MAX_DECOMPRESSED_SIZE_BYTES, a as formatCacheStatusPretty, an as loadConfigFile, at as LUALS_METADATA_FILENAME, b as MIN_ANNOTATIONS_SIZE_BYTES, bn as formatBytes, bt as escapePowerShellSingleQuote, c as DOCGEN_BRANCH, cn as parseJsonc, ct as getBaseLuaLSCacheDir, d as RAW_ANNOTATIONS_URL, dn as stripJsonComments, dt as getLuaLSMetadataPath, en as getDefaultAnnotationsPath, et as MAX_ARCHIVE_SIZE_BYTES, f as downloadAndCacheAnnotations, fn as stripTrailingSlashes, ft as listCachedLuaLSVersionDirs, g as ANNOTATIONS_FILENAME, gn as ConfigError, gt as MAX_ARCHIVE_MEMBER_COUNT, h as getRawAnnotationsUrl, hn as CacheError, ht as writeLuaLSMetadata, i as runCLI, in as initWorkspace, it as trackDownloadProgress, j as formatReport, jt as DEFAULT_LUALS_VERSION, k as formatPretty, kn as logger, kt as validateArchiveMembers, l as DOCGEN_REPO, ln as resolveRealmMappings, lt as getCacheDir, m as fetchRawAnnotationsContent, mn as AnnotationsError, mt as readLuaLSMetadata, n as createProgram, nn as getDefinitionsDir, nt as downloadAndExtractLuaLS, o as getCacheStatus, on as loadUserConfig, ot as cleanupOldCachedLuaLSVersions, p as fetchLatestCommitId, pn as writeTempConfig, pt as listCachedLuaLSVersions, q as findCommonAncestorDirectory, qt as getProgressMode, r as isDirectExecution, rn as getPackageRoot, rt as limitDownloadStream, s as resolveAnnotations, sn as mergeConfigs, st as findExistingLuaLSDir, t as collectIgnorePatterns, tn as getDefaultTemplatePath, tt as computeFileSha256, u as GITHUB_COMMITS_API, un as resolveWorkspaceConfig, ut as getIsoWeek, v as MAX_COMMIT_JSON_SIZE_BYTES, vn as NanosLintError, vt as MIN_DOWNLOADED_BINARY_SIZE_BYTES, w as getTodayDateString, wn as DEFAULT_LOG_LEVEL, wt as isBinaryValid, x as getAnnotationsCacheDir, xn as getDirectorySize, xt as getTarBinary, y as METADATA_FILENAME, yn as cleanCache, yt as assertValidLuaLSBinary, z as collectDeps, zt as deriveRealmAnnotationFiles } from "./cli-I16SeKRK.js";
|
|
2
|
+
export { ALLOWED_DOWNLOAD_DOMAINS, ANNOTATIONS_FILENAME, AnnotationsError, CacheError, ConfigError, DEFAULT_LOG_LEVEL, DEFAULT_LUALS_VERSION, DEFAULT_REALM_MAPPINGS, DOCGEN_BRANCH, DOCGEN_REPO, DOWNLOAD_TIMEOUT_MS, FALLBACK_LUALS_VERSION, GITHUB_COMMITS_API, LOG_LEVELS, LOG_LEVEL_PRIORITY, LUALS_METADATA_FILENAME, Logger, LuaLSError, MAX_ANNOTATIONS_SIZE_BYTES, MAX_ARCHIVE_MEMBER_COUNT, MAX_ARCHIVE_SIZE_BYTES, MAX_COMMIT_JSON_SIZE_BYTES, MAX_DECOMPRESSED_SIZE_BYTES, METADATA_FILENAME, MIN_ANNOTATIONS_SIZE_BYTES, MIN_DOWNLOADED_BINARY_SIZE_BYTES, NanosLintError, PROGRESS_MILESTONES, PROGRESS_THROTTLE_MS, RAW_ANNOTATIONS_URL, SPINNER_FRAMES, VALID_LUALS_DIAGNOSTIC_CODES, assertValidLuaLSBinary, buildWorkspaceConfig, cleanCache, cleanupOldCachedLuaLSVersions, collectDeps, collectIgnorePatterns, collectRealmFiles, computeFileSha256, computeUnrequestedExclusions, countCheckedFiles, createProgram, createProgressBar, createSpinner, deriveRealmAnnotationFiles, downloadAndCacheAnnotations, downloadAndExtractLuaLS, escapePowerShellSingleQuote, fetchLatestCommitId, fetchLatestLuaLSVersionFromGitHub, fetchRawAnnotationsContent, fileUriToPath, filterReportByTargetPaths, findCommonAncestorDirectory, findExistingLuaLSDir, findProjectRoot, formatBytes, formatCacheStatusPretty, formatGitHubAnnotations, formatPretty, formatProblemSummary, formatReport, formatSeverityBadge, formatTransferSummary, getAnnotationsCacheDir, getAnnotationsMetadataFilePath, getBaseLuaLSCacheDir, getCacheDir, getCacheStatus, getCachedAnnotationsFilePath, getCanonicalPath, getColors, getDefaultAnnotationsPath, getDefaultTemplatePath, getDefinitionsDir, getDirectorySize, getIsoWeek, getLuaLSMetadataPath, getPackageRoot, getPlatformInfo, getProgressMode, getRawAnnotationsUrl, getTarBinary, getTodayDateString, initWorkspace, inspectZipMembers, isAllowedDownloadUrl, isAnnotationsValid, isBinaryRunnable, isBinaryValid, isDirectExecution, isFilesystemRoot, isGzipArchive, isProgressInteractive, isValidLogLevel, isZipArchive, limitDownloadStream, listCachedLuaLSVersionDirs, listCachedLuaLSVersions, listCheckedFiles, loadConfigFile, loadUserConfig, logger, matchesTargetPaths, mergeConfigs, parseJsonc, parseLogLevel, parseTarTvSize, planRealmCheck, pluralize, readAnnotationsMetadata, readLuaLSMetadata, resolveAnnotations, resolveCheckTargets, resolveLatestLuaLSVersion, resolveLuaLSBinary, resolveLuaLSVersion, resolvePackageDependencies, resolveRealmMappings, resolveWorkspaceConfig, restoreTerminal, rethrowLuaLSPermissionError, runCLI, runLuaLSCheck, runRealmAwareCheck, sanitizeLuaLSVersion, setProgressMode, shouldEnableColor, splitAnnotationsByRealm, stripJsonComments, stripTrailingSlashes, systemPaths, trackDownloadProgress, updateLastCheckedDate, validateArchiveMembers, writeLuaLSMetadata, writeTempConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nanos-lint",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Linter and type-checker for nanos world Lua scripts powered by LuaLS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nanos-world",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@types/node": "^26.6.2",
|
|
58
58
|
"@typescript-eslint/eslint-plugin": "^8.70.1",
|
|
59
59
|
"@typescript-eslint/parser": "^8.70.1",
|
|
60
|
-
"@vitest/coverage-v8": "^5.0.
|
|
60
|
+
"@vitest/coverage-v8": "^5.0.3",
|
|
61
61
|
"commander": "^15.0.0",
|
|
62
62
|
"dependency-cruiser": "^18.4.0",
|
|
63
63
|
"env-paths": "^4.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"tsx": "^4.23.15",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
72
|
"typescript-eslint": "^8.70.1",
|
|
73
|
-
"vitest": "^5.0.
|
|
73
|
+
"vitest": "^5.0.3"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=24.0.0"
|