Skip to content

Conversation

@nsthorat
Copy link
Contributor

@nsthorat nsthorat commented Sep 3, 2019

Closure doesn't like exported objects.


This change is Reviewable

Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @dsmilkov)

@nsthorat nsthorat merged commit 0e99a3b into master Sep 3, 2019
@nsthorat nsthorat deleted the systemfetch branch September 3, 2019 17:04
@rkirov
Copy link

rkirov commented Sep 3, 2019

Thanks! Note that you already were working against ES2015 module semantics (hence the ts-ignores that you can now remove), and things just happened to work because the actual code ran as a CommonJS module. So in terms of strictness - Closure modules > ES2015 modules > CommonJS modules.

@nsthorat
Copy link
Contributor Author

nsthorat commented Sep 4, 2019

Ah totally makes sense @rkirov, thank you!

TomLuna added a commit to LunaOn/tfjs that referenced this pull request Sep 4, 2019
* 'master' of https://github.com/lunaon/tfjs:
  Throw a better error message when using negative begin indexing. (tensorflow#1965)
  [tfjs-core] Fix browser.fromPixels to work without needing read… (tensorflow#1947)
  [tfjs] Fix security vulnerability for tfjs. (tensorflow#1966)
  Remove the systemFetch export from platform_node (tensorflow#1963)
  Fix the release script to work with other repos (website). (tensorflow#1922)
  webgpu: Bump dependency and version. (tensorflow#1962)
  change location of logs (tensorflow#1961)
  [tfjs-core] Upstream the closure fixes (tensorflow#1960)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants