@antv/util
Advanced tools
Comparing version 1.2.0 to 1.2.1
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
284870
255
8806
1
+ Added@antv/gl-matrix@^2.7.1
+ Added@antv/gl-matrix@2.7.1(transitive)