Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typedescriptor

Package Overview
Dependencies
Maintainers
5
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedescriptor - npm Package Compare versions

Comparing version 4.0.0-internal.1 to 4.0.0-internal.2

build/lib/errors.d.ts

2

build/lib/index.d.ts
import { isArray } from './isArray';
import { isBoolean } from './isBoolean';
import { isError } from './isError';
import { isError } from 'defekt';
import { isFunction } from './isFunction';

@@ -5,0 +5,0 @@ import { isMap } from './isMap';

@@ -8,4 +8,4 @@ "use strict";

Object.defineProperty(exports, "isBoolean", { enumerable: true, get: function () { return isBoolean_1.isBoolean; } });
const isError_1 = require("./isError");
Object.defineProperty(exports, "isError", { enumerable: true, get: function () { return isError_1.isError; } });
const defekt_1 = require("defekt");
Object.defineProperty(exports, "isError", { enumerable: true, get: function () { return defekt_1.isError; } });
const isFunction_1 = require("./isFunction");

@@ -12,0 +12,0 @@ Object.defineProperty(exports, "isFunction", { enumerable: true, get: function () { return isFunction_1.isFunction; } });

@@ -6,3 +6,3 @@ "use strict";

const isBoolean_1 = require("./isBoolean");
const isError_1 = require("./isError");
const defekt_1 = require("defekt");
const isFunction_1 = require("./isFunction");

@@ -24,3 +24,3 @@ const isMap_1 = require("./isMap");

}
if (isError_1.isError(value)) {
if (defekt_1.isError(value)) {
return 'error';

@@ -27,0 +27,0 @@ }

import { isArray } from './isArray';
import { isBoolean } from './isBoolean';
import { isError } from './isError';
import { isError } from 'defekt';
import { isFunction } from './isFunction';

@@ -5,0 +5,0 @@ import { isMap } from './isMap';

import { isArray } from './isArray';
import { isBoolean } from './isBoolean';
import { isError } from './isError';
import { isError } from 'defekt';
import { isFunction } from './isFunction';

@@ -5,0 +5,0 @@ import { isMap } from './isMap';

{
"name": "typedescriptor",
"version": "4.0.0-internal.1",
"version": "4.0.0-internal.2",
"description": "typedescriptor identifies and describes types.",

@@ -17,3 +17,5 @@ "contributors": [

"types": "build/lib/index.d.ts",
"dependencies": {},
"dependencies": {
"defekt": "7.1.0"
},
"devDependencies": {

@@ -20,0 +22,0 @@ "assertthat": "6.0.0",

@@ -77,2 +77,4 @@ # typedescriptor

The `isError` implementation is re-exported from [`defekt`](https://github.com/thenativeweb/defekt/).
### Getting a variable's type name

@@ -79,0 +81,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc