Comparing version 0.2.1 to 0.2.2
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.logger = void 0; | ||
exports.logger = { | ||
@@ -5,0 +6,0 @@ close() { }, |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serverHost = void 0; | ||
const tsserverlibrary_1 = require("typescript/lib/tsserverlibrary"); | ||
@@ -5,0 +6,0 @@ const NOOP_FILE_WATCHER = { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.indent = exports.getValuePathMessage = exports.formatDiagnostic = void 0; | ||
const tsutils_1 = require("tsutils"); | ||
@@ -4,0 +5,0 @@ const tsserverlibrary_1 = require("typescript/lib/tsserverlibrary"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ValidateError = exports.Tiva = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ const events_1 = require("events"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.builtInExtensions = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ const validator_1 = tslib_1.__importDefault(require("validator")); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Validator = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -164,4 +165,4 @@ const Path = tslib_1.__importStar(require("path")); | ||
else if (tsserverlibrary_1.isTupleTypeNode(node)) { | ||
for (let childType of node.elementTypes) { | ||
this.validateWithExtensions(childType); | ||
for (let childNode of node.elements) { | ||
this.validateWithExtensions(childNode); | ||
} | ||
@@ -168,0 +169,0 @@ } |
{ | ||
"name": "tiva", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Expensive plain object type validator leverages TypeScript language service.", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"@mufan/code": "^0.2.5", | ||
"@mufan/eslint-plugin": "^0.1.32", | ||
"@mufan/eslint-plugin": "^0.1.35", | ||
"@types/jest": "^26.0.10", | ||
@@ -36,6 +36,6 @@ "@types/node": "^14.0.27", | ||
"ts-jest": "^26.2.0", | ||
"typescript": "^3.8.3" | ||
"typescript": "^4.0.2" | ||
}, | ||
"peerDependencies": { | ||
"typescript": ">=3.9.7" | ||
"typescript": ">=4.0.2" | ||
}, | ||
@@ -42,0 +42,0 @@ "dependencies": { |
@@ -322,4 +322,4 @@ import * as Path from 'path'; | ||
} else if (isTupleTypeNode(node)) { | ||
for (let childType of node.elementTypes) { | ||
this.validateWithExtensions(childType); | ||
for (let childNode of node.elements) { | ||
this.validateWithExtensions(childNode); | ||
} | ||
@@ -326,0 +326,0 @@ } else if (isConditionalTypeNode(node)) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
60616
1169
1