Commit Graph

99 Commits

Author SHA1 Message Date
Valérian Rousset 636c616d14
[tfjs-data] support async generator (#8408) 2024-10-08 11:35:37 -07:00
Matthew Soulanille d500a0d039
Disable firefox browserstack tests temporarily (#7935)
* Disable firefox browserstack tests temporarily

* Remove unused WebGL scripts

* Update test-ci.sh

* Always use port 9876 for karma

* Always use port 9200 for karma

Browserstack supports ports 9200-9400 for safari
testing (https://www.browserstack.com/question/39572), and when karma launches
and its port is in use, it automatically increments the port. Starting at 9200
ensures the port is always supported by BrowserStack.

* Fix bash npm-run-all script

* Fix tfjs-vis test script

* Update karma.conf.js

* Update automl macos test version

---------

Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2023-08-25 17:05:49 -07:00
gaikwadrahul8 f746187b93
Update tf.data hyperlink in README.md (#7777)
Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2023-06-26 06:45:56 -07:00
dependabot[bot] 3fadd02528
build(deps): bump vega in /tfjs-data/demo/boston-housing (#7444)
Bumps [vega](https://github.com/vega/vega) from 5.22.0 to 5.23.0.
- [Release notes](https://github.com/vega/vega/releases)
- [Commits](https://github.com/vega/vega/compare/v5.22.0...v5.23.0)

---
updated-dependencies:
- dependency-name: vega
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 14:59:45 -08:00
dependabot[bot] edd66d6f95
build(deps): bump vega-functions in /tfjs-data/demo/boston-housing (#7442)
Bumps [vega-functions](https://github.com/vega/vega) from 5.13.0 to 5.13.1.
- [Release notes](https://github.com/vega/vega/releases)
- [Commits](https://github.com/vega/vega/commits)

---
updated-dependencies:
- dependency-name: vega-functions
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 11:57:32 -08:00
dependabot[bot] b49055eb7e
build(deps): bump json5 in /tfjs-data/demo/boston-housing (#7219)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 10:31:39 -08:00
dependabot[bot] 43df646c76
build(deps): bump fast-json-patch in /tfjs-data/demo/boston-housing (#7211)
Bumps [fast-json-patch](https://github.com/Starcounter-Jack/JSON-Patch) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/Starcounter-Jack/JSON-Patch/releases)
- [Commits](https://github.com/Starcounter-Jack/JSON-Patch/compare/v3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: fast-json-patch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 09:19:48 -08:00
Matthew Soulanille 3647d7e895
Turn on the `noImplicitOverride` tsconfig option (#7009)
Enable the 'noImplicitOverride' tsconfig setting, which requires the override keyword to be present when a subclass overrides a property of a superclass.
2022-11-02 22:49:14 -07:00
Matthew Soulanille a234798ae8
Cleanup and standardize package.json scripts of Bazel packages (#7005)
* [core] Remove unused package.json scripts

* [cpu] Remove unused package.json scripts

* [wasm] Remove unused package.json scripts

* [webgl] Remove unused package.json scripts

* [core] Add --test_output=streamed

* [converter] Remove unused package.json scripts

* [data] Remove unused package.json scripts

* [layers] Standardize package.json scripts

* [core] Use streamed test output where only one test is run

* [tflite] Standardize package.json scripts

* Bazel format
2022-11-02 13:08:58 -07:00
Matthew Soulanille 8571f496f1
Upgrade tfjs repo to 4.0.0 (#6927)
This major release upgrades TypeScript from 3.5.3 to 4.8.4 (https://github.com/tensorflow/tfjs/pull/6346). It is intended to be as non-breaking as possible, but it technically has breaking changes for users of `typescript<4.4`. All other users should be unaffected.

When compiling projects that depend on TFJS with `typescript<4.4`, the following error will appear.
```
node_modules/@webgpu/types/dist/index.d.ts:587:16 - error TS2304: Cannot find name 'PredefinedColorSpace'.

587   colorSpace?: PredefinedColorSpace;
                   ~~~~~~~~~~~~~~~~~~~~
...
```
This can be fixed by upgrading TypeScript to 4.4.2 or greater, or by adding the file `predefined_color_space.d.ts` (name and path can be changed) with the following contents to your project to define the missing type. If this file is added, it will need to be removed when TypeScript is upgraded past 4.3.
```typescript
type PredefinedColorSpace = "display-p3" | "srgb";
```

`typescript<3.7` has the following additional error.
```
node_modules/@tensorflow/tfjs-core/dist/engine.d.ts:127:9 - error TS1086: An accessor cannot be declared in an ambient context.

127     get backend(): KernelBackend;
            ~~~~~~~
...
```

Enabling [`skipLibCheck`](https://www.typescriptlang.org/tsconfig#skipLibCheck) suppresses this error, and upgrading to at least TypeScript 3.6.2 fixes it (although the above fix for `PredefinedColorSpace` will also need to be applied).
2022-10-12 14:21:32 -07:00
Ivan Panchenko b6d6bf7f99
Fix mistakes (#6793)
* Fix mistake

* Fix mistakes

* Fix mistake

* Fix mistake

* Fix mistake

* Update expand_dims.ts

* Update pad.ts

* Update concat.ts

* Update gather.ts

* Remove apostrophe

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Update graph_model.ts

* Fix mistakes

* Fix mistakes

* Fix mistake

* Fix mistake

* Fix mistakes

* Fix mistakes

* Fix mistake

* Fix mistakes

* Fix mistakes

* Fix mistakes

* Fix mistake

* Fix mistakes

* Fix mistake

* Fix mistake

* Fix mistake

* Update normalization.ts

* Fix mistake

* Fix mistakes

* Fix mistake

* Fix mistake

* Fix mistakes

* Fix mistake

* Fix mistakes

* Fix mistake

* Fix mistake

* Update exports_layers.ts

* Update clip_by_value.ts

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Update euclidean_norm.ts

* Fix mistake

* Fix mistake

* Update norm.ts

* Update euclidean_norm.ts

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Update non_max_suppression_with_score.ts

* Update non_max_suppression_with_score_async.ts

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Update sparse_fill_empty_rows.ts

* Update sparse_fill_empty_rows.ts

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistakes

* Update compute_weighted_loss.ts

* Update huber_loss.ts

* Fix mistake

* Fix mistake

* Fix mistake

* Fix mistake

* Update readers.ts

* Fix mistake

* Fix mistakes

* Fix mistakes

* Update globals.ts

* Fix mistakes

* Fix mistake

* Fix mistake

* Fix mistake

* Remove space

* Update readers.ts

* Update exports_layers.ts

Co-authored-by: Jen Person <personjeh@gmail.com>
Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2022-09-01 11:15:05 -07:00
dependabot[bot] 9494e8c76b
Bump terser from 5.12.1 to 5.14.2 in /tfjs-data/demo/boston-housing (#6648)
Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 16:27:09 -07:00
Matthew Soulanille d03663517f
Remove unused files (#6586)
Remove unused rollup config files that have been replaced with the Bazel-generated config.

Remove unused tsconfig.test.json files that have been replaced with Bazel test targets.

Co-authored-by: ahmedsabie <ahmedsabie@google.com>
2022-07-12 16:30:41 -07:00
Matthew Soulanille 189ac32bca
Update Jasmine from 3.1.0 to 4.2.1 (#6520)
Update jasmine from 3.1.0 to 4.2.1 for Bazel packages. Update karma from 6.3.16 to 6.4.0.

Remove deprecated use of async function and done callback at the same time in Jasmine tests.

Add karma-jasmine-html-reporter to show test status in the browser window.
2022-06-29 16:25:09 -07:00
Moustapha Sall b83e5b437a
Bump seedrandom to avoid unsafe-eval issues (#6440)
* Bump seedrandom to avoid unsafe-eval issues

* Reset to upstream

* Update lock files

Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2022-06-28 16:35:57 -07:00
Matthew Soulanille 87416db23d
Upgrade @bazel/bazelisk and @bazel/ibazel (#6565) 2022-06-27 12:28:19 -07:00
Matthew Soulanille b98fcc6ab4
Add a Bazel test_suite to organize tests (#6550)
Create a test_suite target named tests in each package and a test_suite in the root of the repository that runs all the tests for all the Bazel packages. WebGPU is excluded at the moment because it is in alpha.

Running yarn test at the root of the repository will run the tests.

This target is just for developer convenience.
2022-06-23 10:08:57 -07:00
Matthew Soulanille 30baf2f9bf
Add string_decoder to tfjs-data (#6538)
string_decoder is used by [tfjs-data/src/util/deep_map.ts:261](https://github.com/tensorflow/tfjs/blob/master/tfjs-data/src/util/deep_map.ts#L261), so it should be included in the package.json and Bazel build rule for tfjs-data.
2022-06-15 14:38:29 -07:00
Matthew Soulanille 8aa0d508bc
[tfjs-data] Fix test files list missing setup_tests.ts (#6482)
This caused setup_tests.ts to be included in the non-test ts_library of tfjs-data, which would sometimes cause compilation to fail.

Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2022-06-02 09:31:39 -07:00
Matthew Soulanille 57940285ec
Remove unneeded devDependencies from packages that build with Bazel (#6452)
* [core] Remove devDependencies that are no longer needed

* [cpu] Remove devDependencies that are no longer needed

* [layers] Remove devDependencies that are no longer needed

* [webgl] Remove devDependencies that are no longer needed

* [converter] Remove devDependencies that are no longer needed

* [data] Remove devDependencies that are no longer needed

* [tflite] Remove devDependencies that are no longer needed
2022-05-26 10:35:16 -07:00
Ping Yu 7e3c36adec
[secu] update package.json files to resolve security alerts (#6448)
Clean up the package.json files for directories migrated to bazel.
2022-05-25 13:41:56 -07:00
dependabot[bot] 84d0de4de1
Bump minimist from 1.2.5 to 1.2.6 in /tfjs-data (#6297)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 08:32:10 -07:00
Ping Yu 33c62a005c
Security fixes (#6268)
* yarn.lock updates for security warning

* fix minimist security issue
2022-03-29 12:34:26 -07:00
CommanderRoot d279946b7b
refactor: replace deprecated String.prototype.substr() (#6255)
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>

Co-authored-by: Na Li <linazhao@google.com>
2022-03-22 18:31:31 -07:00
Matthew Soulanille fa9c13fcfb
[tfjs-data] Use '!IS_BROWSER' instead of 'IS_NODE' for detecting browser (#6240)
Make webcam and microphone iterators check the IS_BROWSER flag instead of the IS_NODE flag when checking environment compatability. This is more accurate because some browsers, like Electron, look like node but still have all the browser features required for webcams and microphones.
2022-03-17 16:41:45 -07:00
Ping Yu b73ea50312
[security] upgrade parcel-bundle to parcel 2 (#6234)
SECURITY
* upgrade parcel-bundle to parcel 2

* fix tfjs-vis tests
2022-03-15 17:33:22 -07:00
dependabot[bot] 8f63ac3f77
Bump lodash from 4.17.15 to 4.17.21 in /tfjs-data/demo/boston-housing (#6220)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 16:19:51 -07:00
Ping Yu e674862840
yarn.lock updates for security warning (#6229) 2022-03-14 14:44:34 -07:00
dependabot[bot] 5c986daa87
Bump karma from 6.3.14 to 6.3.16 in /tfjs-data (#6195)
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 11:26:32 -07:00
dependabot[bot] 4642111be3
Bump karma from 6.3.1 to 6.3.14 in /tfjs-data (#6147)
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.1 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.1...v6.3.14)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 09:54:02 -08:00
dependabot[bot] a5f461f7ca
Bump follow-redirects from 1.13.3 to 1.14.8 in /tfjs-data (#6146)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.3 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.3...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 08:59:36 -08:00
Rajeshwar Reddy T 7c0d1199a8
Update README.md (#6074)
DOC
* Update README.md

* Update README.md
2022-01-25 17:01:18 -08:00
rancyr 694c6e2b3c
Update package.json to include the repository (#5770)
Add repository metadata to the package.json files for the following packages:
* @tensorflow/tfjs-react-native
* @tensorflow/tfjs-layers
* @tensorflow/tfjs-data
* @tensorflow/tfjs-backend-wasm

Co-authored-by: Matthew Soulanille <msoulanille@google.com>
2021-11-23 10:42:09 -08:00
Matthew Soulanille 441537199e
Lint Bazel packages with a central lint script (#5790)
INTERNAL
* Add global lint script

* Omit non-bazel packages from repo-wide lint

* Lint Bazel packages with a global lint script

* Fix lint errors

* [core] Remove lint script

* [cpu] Remove lint script

* [webgl] Remove lint script

* [converter] Remove tslint script

* [layers] Remove tslint script

* [tflite] Remove tslint script

* [data] Remove tslint script

* Update cloudbuild golden file tests

* [webgpu] Revert incorrect lint changes

* Add lint instructions to Bazel migration doc

* Fix lint errors

* [core] Remove circular import in platform_node

Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2021-11-02 14:48:54 -07:00
Ping Yu 1707ea512e
[tfjs-data] Bazel migration for tfjs-data (#5748)
* init build file

* migrate tfjs-data to bazel

* fix tests

* skip mediaDevices tests if it is null

* test on chrome only

* addressed comments

* fix typo

* fixed snippet tests
2021-10-21 11:33:16 -07:00
Ping Yu ed94a27288
[tfjs-layers] Bazel migration (#5672)
FEATURE
INTERNAL
* add more bazel build files

* remove the integration test directory

* enumerate tests

* require tests files

* fix tests

* fixed spyOn test errors

* fix more tests

* keep function name for esbuild

* fix more tests

* allow random flag for jasmine test

* updated deps

* merged

* fixed bazel lint

* fixed layers snippet tests

* fixed tests

* fix test failure

* fix bazel tests

* addressed comments

* addressed comments

* fix test

* fix bazel failure
2021-09-30 22:50:20 -07:00
Matthew Soulanille c2784d4358
Use the release docker for all cloudbuild steps (#5669)
Make all cloudbuild CI steps use the release docker, as described in #5640.
2021-09-27 15:00:18 -07:00
Matthew Soulanille 6f26aac510
[core] Fix io test flakiness when run out-of-order (#5582)
IO tests use the same browser storage, so they need to run one-at-a-time. This PR adds the function runWithLock to jasmine_util that makes any spec that uses it run exclusively to other specs that use it.

Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2021-09-09 15:09:56 -07:00
Jing Jin 6f23dc47ce
[tfjs-data] Fix an issue caused by incorrectly cloning certain iterator (#5444)
BUG
2021-08-07 11:58:44 -07:00
Matthew Soulanille e745d42cae
Use Bazel and ts_library to build core and backend-cpu (#5133)
This PR builds tfjs-core and tfjs-backend-cpu using Bazel and makes the build outputs available to the other packages in the monorepo. It also sets up Bazel rules and macros that facilitate converting other packages in the monorepo to Bazel. For more details, see #5133.
2021-07-15 14:50:45 -07:00
ahmedsabie 2f064d4782
Add kernel StringToHashBucketFast for CPU and WebGL backend (#5052)
FEATURE
* Add kernel StringToHashBucketFast for CPU and WebGL backend

* Remove int32 limit

* fix test failure

* fix long package import error

* add lng package to root package.json

* add types/long package

* fixed cpu and webgl test failure

* added esModuleInterop to root tsconfig

* fix tfjs-converter tests

* fix layers build

* fix tfjs rollup

* fix node tsconfig

* fix node tests

Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
2021-05-13 10:32:53 -07:00
Matthew Soulanille b0fd0111ac
Generate code coverage reports for packages (#4946)
Add a `yarn coverage` command to packages to generate coverage reports. Coverage is not yet automated in CI.
2021-04-28 14:24:29 -07:00
Ping Yu c238c49f70
fix sec vulnerabilities for all packages (#4869)
SECURITY
* fix sec vul for all packages

* fix rn error

* update pkg version

* update deps for automl

* fix lint

* fix node error

* fix karma stuck error for wasm
2021-03-30 15:53:14 -07:00
Yannick Assogba d28e229344
Merge 3.x_dev branch (#4537)
BREAKING
FEATURE

Summary of breaking changes

  Removal of *strict variants of ops
  Remove deprecated tensor.depthwiseConv2D (use tensor.depthwiseConv2d)
  Remove dilations param from maxPool3d and avgPool3d
  Remove default registration of chaining api from core
  Remove default registration of gradients from core

Other Changes

  Add .fesm bundles to npm package
  Rename custom-bundle tool to custom-module

Internal changes
  refactor runKernel/runKernelFunc to remove legacy code after modularization of all kernels
2021-01-14 22:31:45 -05:00
Matthew Elliott Soulanille 98d71518f6
Don't rebuild core when running test-snippets in CI (#4399)
* Don't rebuild core when running test-snippets in CI

* Add missing comma

* Make the test-snippets cloudbuild step wait for core to build

* [layers] Add a test-snippets-ci yarn command

* [data] Add a test-snippets-ci yarn command

* [converter] Add a test-snippets-ci yarn command

* Update cloudbuild test golden file
2020-12-14 10:24:50 -08:00
Matthew Elliott Soulanille e6434f8c0b
Run ts-node tests with --transpile-only to increase speed (#4272)
* Run ts-node tests with --transpile-only to increase speed

* Run 'yarn build' before testing with ts-node

* [cpu] Move run_tests.ts to /src so it is typechecked

* [union] Run test-tools with typechecking

* Remove old tfjs-node integration tests

* Add test-dev to packages that use ts-node

* [core] Remove dependency on union that was added earlier in this PR

* Add a  command to each package

* Remove --transpile-only flag from targets that never run through tsc
2020-12-08 10:39:56 -08:00
Matthew Elliott Soulanille 60907d5181
Update karma-browserstack-launcher to 1.6.0 (#4300)
* Remove tfjs-backend-cpu's karma.conf.js since it's unused

* Specify a tunnel identifier for browserstack and port for karma

* Remove karma from tfjs-converter since it's unused

* Upgrade tfjs union's browserstack launcher to 1.6.0

* Remove integration tests that are already in e2e

* Upgrade e2e browserstack launcher to 1.6.0

* Upgrade wasm backend's browserstack launcher to 1.6.0

* Upgrade tfjs-vis's browserstack launcher to 1.6.0

* upgrade tfjs-backend-webgpu's browserstack launcher to 1.6.0

* [wasm] Upgrade karma-typescript to 5.2.0

* [automl] Remove browserstack launcher since it's unused

* [core] Upgrade browserstack launcher to 1.6.0

* Change e2e browsertack benchmark port to match other e2e ports

* Update cloudbuild file generation tests due to editing e2e cloudbuild.yml

* [core] Move 'port' to browserstackConfig to fix webworker test

* Move 'port' to browserstackConfig
2020-11-25 10:11:07 -08:00
Na Li fc9a0f2046
Modularize binary ops. (#4181)
DEV
2020-11-03 17:16:13 -08:00
Ping Yu cbaa09e555
replace instanceof Promise with check of then function on the object (#4122)
BUG
* replace instanceof Promise with check of then function on the object

* split the util.ts into two files to resolve circular imports
2020-10-23 14:33:59 -07:00
Yannick Assogba aecaf8d716
update node fetch version (#3971)
SECURITY
2020-09-25 09:48:28 -04:00