New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

can-type

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-type - npm Package Compare versions

Comparing version

to
0.1.10

2

can-type.js

@@ -88,3 +88,3 @@ var canReflect = require("can-reflect");

function check(Type, val) {
throw new Error(`Type value '${val}' is not of type ${canReflect.getName(Type)}.`);
throw new Error(`Type value ${typeof val === "string" ? '"' + val + '"' : val} is not of type ${canReflect.getName(Type)}.`);
}

@@ -91,0 +91,0 @@

{
"name": "can-type",
"version": "0.1.9",
"version": "0.1.10",
"description": "Type definitions",

@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-type.html",