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

@antv/util

Package Overview
Dependencies
Maintainers
7
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/util - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

dist/util-1.3.1.min.js

11

lib/type/index.js

@@ -19,11 +19,8 @@ var isType = require('./is-type');

isString: require('./is-string'),
isRegExp: require('./is-reg-exp')
isRegExp: require('./is-reg-exp'),
isDate: require('./is-date'),
isArguments: require('./is-arguments'),
isError: require('./is-error')
};
['Arguments', 'Date', 'Error'].forEach(function (type) {
checkType['is' + type] = function (value) {
return isType(value, type);
};
});
module.exports = checkType;
{
"name": "@antv/util",
"version": "1.3.0",
"version": "1.3.1",
"description": "A common util collection for antv projects",

@@ -5,0 +5,0 @@ "main": "build/util.js",

@@ -19,15 +19,8 @@ const isType = require('./is-type');

isString: require('./is-string'),
isRegExp: require('./is-reg-exp')
isRegExp: require('./is-reg-exp'),
isDate: require('./is-date'),
isArguments: require('./is-arguments'),
isError: require('./is-error')
};
[
'Arguments',
'Date',
'Error'
].forEach(function(type) {
checkType['is' + type] = function(value) {
return isType(value, type);
};
});
module.exports = checkType;

Sorry, the diff of this file is too big to display

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