Socket
Socket
Sign inDemoInstall

typescript-is

Package Overview
Dependencies
5
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.16.2 to 0.16.3

11

index.js

@@ -22,3 +22,12 @@ let defaultGetErrorObject = undefined;

function appendInputToErrorMessage(message, path, inputObject) {
return message + ', found: ' + JSON.stringify(inputObjectAtPath(path, inputObject));
const foundInputObject = inputObjectAtPath(path, inputObject);
try {
return message + ', found: ' + require('util').inspect(foundInputObject);
} catch (error) {
}
try {
return message + ', found: ' + JSON.stringify(foundInputObject);
} catch (error) {
}
return message;
}

@@ -25,0 +34,0 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformNode = void 0;
const path = require("path");

@@ -4,0 +5,0 @@ const ts = require("typescript");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sliceMapValues = exports.setUnion = exports.setIntersection = exports.sliceSet = void 0;
function sliceSet(set) {

@@ -4,0 +5,0 @@ const items = [];

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visitType = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const tsutils = require("tsutils/typeguard/3.0");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visitType = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const tsutils = require("tsutils/typeguard/3.0");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visitType = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const tsutils = require("tsutils/typeguard/3.0");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visitType = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const tsutils = require("tsutils/typeguard/3.0");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visitType = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const tsutils = require("tsutils/typeguard/3.0");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visitShortCircuit = exports.visitUndefinedOrType = exports.visitType = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const tsutils = require("tsutils/typeguard/3.0");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visitType = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const tsutils = require("tsutils/typeguard/3.0");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createErrorObject = exports.isBigIntType = exports.createSuperfluousPropertiesLoop = exports.createAssertionFunction = exports.createStrictNullCheckStatement = exports.createDisjunctionFunction = exports.createConjunctionFunction = exports.createAcceptingFunction = exports.createBinaries = exports.getIgnoredTypeFunction = exports.getAnyFunction = exports.getUnknownFunction = exports.getNeverFunction = exports.getNullFunction = exports.getUndefinedFunction = exports.getNumberFunction = exports.getBigIntFunction = exports.getBooleanFunction = exports.getStringFunction = exports.getResolvedTypeParameter = exports.getTypeReferenceMapping = exports.getPropertyInfo = exports.setFunctionIfNotExists = exports.checkIsDateClass = exports.checkIsClass = exports.pathIdentifier = exports.objectIdentifier = void 0;
const ts = require("typescript");

@@ -4,0 +5,0 @@ const typescript_1 = require("typescript");

2

package.json
{
"name": "typescript-is",
"version": "0.16.2",
"version": "0.16.3",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=6.14.4"

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc