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.2.0 to 1.2.1

dist/util-1.2.1.min.js

23

lib/index.js
var arrayUtil = require('./array');
var eventUtil = require('./event');
var mathUtil = require('./math');
var objectUtil = require('./object');
var stringUtil = require('./string');
var typeUtil = require('./type');
var each = require('./each');
var mix = require('./mix');
// collections
var DOMUtil = require('./dom/');
var arrayUtil = require('./array/');
var eventUtil = require('./event/');
var formatUtil = require('./format');
var mathUtil = require('./math/');
var objectUtil = require('./object/');
var pathUtil = require('./path/');
var stringUtil = require('./string/');
var typeUtil = require('./type/');
var util = {
// collections
DOMUtil: DOMUtil,
DomUtil: DOMUtil,
arrayUtil: arrayUtil,
eventUtil: eventUtil,
formatUtil: formatUtil,
mathUtil: mathUtil,
objectUtil: objectUtil,
stringUtil: stringUtil,
pathUtil: pathUtil,
typeUtil: typeUtil,

@@ -41,3 +50,3 @@ // others

each([arrayUtil, eventUtil, mathUtil, objectUtil, stringUtil, typeUtil], function (collection) {
each([DOMUtil, arrayUtil, eventUtil, formatUtil, mathUtil, objectUtil, pathUtil, stringUtil, typeUtil], function (collection) {
mix(util, collection);

@@ -44,0 +53,0 @@ });

{
"name": "@antv/util",
"version": "1.2.0",
"version": "1.2.1",
"description": "A common util collection for antv projects",

@@ -63,3 +63,6 @@ "main": "build/util.js",

},
"homepage": "https://github.com/antvis/util#readme"
"homepage": "https://github.com/antvis/util#readme",
"dependencies": {
"@antv/gl-matrix": "^2.7.1"
}
}
const arrayUtil = require('./array');
const eventUtil = require('./event');
const mathUtil = require('./math');
const objectUtil = require('./object');
const stringUtil = require('./string');
const typeUtil = require('./type');
const each = require('./each');
const mix = require('./mix');
// collections
const DOMUtil = require('./dom/');
const arrayUtil = require('./array/');
const eventUtil = require('./event/');
const formatUtil = require('./format');
const mathUtil = require('./math/');
const objectUtil = require('./object/');
const pathUtil = require('./path/');
const stringUtil = require('./string/');
const typeUtil = require('./type/');
const util = {
// collections
DOMUtil,
DomUtil: DOMUtil,
arrayUtil,
eventUtil,
formatUtil,
mathUtil,
objectUtil,
stringUtil,
pathUtil,
typeUtil,

@@ -42,6 +51,9 @@ // others

each([
DOMUtil,
arrayUtil,
eventUtil,
formatUtil,
mathUtil,
objectUtil,
pathUtil,
stringUtil,

@@ -48,0 +60,0 @@ typeUtil

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