Skip to content

Commit e85f5a8

Browse files
committed
Build latest version
1 parent 302f68d commit e85f5a8

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

danfojs-browser/lib/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

danfojs-browser/lib/bundle.js.LICENSE.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,23 @@
146146
* =============================================================================
147147
*/
148148

149+
/**
150+
* @license
151+
* Copyright 2021 Google LLC. All Rights Reserved.
152+
* Licensed under the Apache License, Version 2.0 (the "License");
153+
* you may not use this file except in compliance with the License.
154+
* You may obtain a copy of the License at
155+
*
156+
* http://www.apache.org/licenses/LICENSE-2.0
157+
*
158+
* Unless required by applicable law or agreed to in writing, software
159+
* distributed under the License is distributed on an "AS IS" BASIS,
160+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161+
* See the License for the specific language governing permissions and
162+
* limitations under the License.
163+
* =============================================================================
164+
*/
165+
149166
/**
150167
* @license Complex.js v2.0.11 11/02/2016
151168
*

danfojs-browser/lib/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

danfojs-node/dist/io/reader.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const read_excel = async (source, configs) => {
6868

6969
exports.read_excel = read_excel;
7070

71-
const read = async (path_or_descriptor, configs = {}) => {
71+
const read = async (source, configs = {}) => {
7272
let {
7373
data_num,
7474
header,
@@ -78,14 +78,14 @@ const read = async (path_or_descriptor, configs = {}) => {
7878
header = header === undefined ? true : header;
7979
let rows, file;
8080

81-
if ((0, _frictionless.isDataset)(path_or_descriptor)) {
81+
if ((0, _frictionless.isDataset)(source)) {
8282
console.log("datapackage.json found. Loading Dataset package from Datahub.io");
83-
const dataset = await _frictionless.Dataset.load(path_or_descriptor);
83+
const dataset = await _frictionless.Dataset.load(source);
8484
file = dataset.resources[data_num];
8585
rows = await (0, _streamToArray.default)(await file.rows());
8686
} else {
8787
try {
88-
file = (0, _frictionless.open)(path_or_descriptor);
88+
file = (0, _frictionless.open)(source);
8989

9090
if (sheet) {
9191
rows = await (0, _streamToArray.default)(await file.rows({

0 commit comments

Comments
 (0)