@visactor/vdataset
Advanced tools
Comparing version 0.18.6 to 0.18.7
@@ -70,1 +70,2 @@ import type { DataSet } from './data-set'; | ||
} | ||
export declare function isDataView(obj: any): obj is DataView; |
@@ -5,3 +5,3 @@ "use strict"; | ||
value: !0 | ||
}), exports.DataView = exports.DataViewDiffRank = void 0; | ||
}), exports.isDataView = exports.DataView = exports.DataViewDiffRank = void 0; | ||
@@ -153,3 +153,7 @@ const vutils_1 = require("@visactor/vutils"), uuid_1 = require("./utils/uuid"), fields_1 = require("./transform/fields"); | ||
exports.DataView = DataView; | ||
function isDataView(obj) { | ||
return obj instanceof DataView; | ||
} | ||
exports.DataView = DataView, exports.isDataView = isDataView; | ||
//# sourceMappingURL=data-view.js.map |
@@ -35,5 +35,5 @@ export { pointToHexbin } from './transform/hexagon'; | ||
export { DataSet } from './data-set'; | ||
export { DataView } from './data-view'; | ||
export { DataView, isDataView } from './data-view'; | ||
export type { IDataViewOptions, IFields, IFieldsMeta } from './data-view'; | ||
export type { Parser, IParserOptions } from './parser'; | ||
export { readCSVTopNLine } from './utils/csv'; |
@@ -20,3 +20,3 @@ "use strict"; | ||
value: !0 | ||
}), exports.readCSVTopNLine = exports.DataView = exports.DataSet = exports.dataViewParser = exports.treeParser = exports.byteJSONParser = exports.topoJSONParser = exports.geoJSONParser = exports.geoBufParser = exports.tsvParser = exports.csvParser = exports.dsvParser = exports.fields = exports.fold = exports.map = exports.statistics = exports.mercator = exports.simplify = exports.dissolve = exports.projection = exports.filter = exports.pointToHexbin = void 0; | ||
}), exports.readCSVTopNLine = exports.isDataView = exports.DataView = exports.DataSet = exports.dataViewParser = exports.treeParser = exports.byteJSONParser = exports.topoJSONParser = exports.geoJSONParser = exports.geoBufParser = exports.tsvParser = exports.csvParser = exports.dsvParser = exports.fields = exports.fold = exports.map = exports.statistics = exports.mercator = exports.simplify = exports.dissolve = exports.projection = exports.filter = exports.pointToHexbin = void 0; | ||
@@ -202,2 +202,7 @@ var hexagon_1 = require("./transform/hexagon"); | ||
} | ||
}), Object.defineProperty(exports, "isDataView", { | ||
enumerable: !0, | ||
get: function() { | ||
return data_view_2.isDataView; | ||
} | ||
}); | ||
@@ -204,0 +209,0 @@ |
@@ -70,1 +70,2 @@ import type { DataSet } from './data-set'; | ||
} | ||
export declare function isDataView(obj: any): obj is DataView; |
@@ -149,2 +149,6 @@ import { cloneDeep, EventEmitter, merge, isNil } from "@visactor/vutils"; | ||
} | ||
export function isDataView(obj) { | ||
return obj instanceof DataView; | ||
} | ||
//# sourceMappingURL=data-view.js.map |
@@ -35,5 +35,5 @@ export { pointToHexbin } from './transform/hexagon'; | ||
export { DataSet } from './data-set'; | ||
export { DataView } from './data-view'; | ||
export { DataView, isDataView } from './data-view'; | ||
export type { IDataViewOptions, IFields, IFieldsMeta } from './data-view'; | ||
export type { Parser, IParserOptions } from './parser'; | ||
export { readCSVTopNLine } from './utils/csv'; |
@@ -39,5 +39,5 @@ export { pointToHexbin } from "./transform/hexagon"; | ||
export { DataView } from "./data-view"; | ||
export { DataView, isDataView } from "./data-view"; | ||
export { readCSVTopNLine } from "./utils/csv"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@visactor/vdataset", | ||
"version": "0.18.6", | ||
"version": "0.18.7", | ||
"main": "cjs/index.js", | ||
@@ -28,3 +28,3 @@ "module": "es/index.js", | ||
"dependencies": { | ||
"@visactor/vutils": "0.18.6", | ||
"@visactor/vutils": "0.18.7", | ||
"@turf/flatten": "^6.5.0", | ||
@@ -66,5 +66,5 @@ "@turf/helpers": "^6.5.0", | ||
"d3-array": "3.2.3", | ||
"@internal/eslint-config": "0.0.1", | ||
"@internal/ts-config": "0.0.1", | ||
"@internal/bundler": "0.0.1", | ||
"@internal/eslint-config": "0.0.1", | ||
"@internal/jest-config": "0.0.1" | ||
@@ -71,0 +71,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
844462
14866
+ Added@visactor/vutils@0.18.7(transitive)
- Removed@visactor/vutils@0.18.6(transitive)
Updated@visactor/vutils@0.18.7