Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated requiresDOM setting #1892

Merged
merged 1 commit into from
Sep 6, 2017

Conversation

fthomas
Copy link
Member

@fthomas fthomas commented Sep 6, 2017

Since Scala.js 0.6.20 our build displays this deprecation warning:

build.sbt:74: warning: value requiresDOM in object AutoImport is
deprecated: Requesting a DOM-enabled JS env with `jsDependencies +=
RuntimeDOM` or `requiresDOM := true` will not be supported in Scala.js
1.x. Instead, explicitly select a suitable JS with `jsEnv`, e.g., `jsEnv
:= new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv`.
  requiresDOM := false,
  ^

Since we are already selecting a DOM-disabled JS environment with

jsEnv := new org.scalajs.jsenv.nodejs.NodeJSEnv()

it seems to be enough to remove requiresDOM to get rid of this
deprecation warning.

Since Scala.js 0.6.20 our build displays this deprecation warning:

```
build.sbt:74: warning: value requiresDOM in object AutoImport is
deprecated: Requesting a DOM-enabled JS env with `jsDependencies +=
RuntimeDOM` or `requiresDOM := true` will not be supported in Scala.js
1.x. Instead, explicitly select a suitable JS with `jsEnv`, e.g., `jsEnv
:= new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv`.
  requiresDOM := false,
  ^
```

Since we are already selecting a DOM-disabled JS environment with
```sbt
jsEnv := new org.scalajs.jsenv.nodejs.NodeJSEnv()
```
it seems to be enough to remove `requiresDOM` to get rid of this
deprecation warning.
@codecov-io
Copy link

codecov-io commented Sep 6, 2017

Codecov Report

Merging #1892 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1892   +/-   ##
=======================================
  Coverage   95.17%   95.17%           
=======================================
  Files         248      248           
  Lines        4352     4352           
  Branches      121      123    +2     
=======================================
  Hits         4142     4142           
  Misses        210      210

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 48fcf6f...1e06654. Read the comment docs.

@kailuowang
Copy link
Contributor

merge with 1 sign-off as a straightforward build change.

@kailuowang kailuowang merged commit ef28e24 into typelevel:master Sep 6, 2017
@kailuowang kailuowang added this to the 1.0.0-RC1 milestone Oct 13, 2017
@fthomas fthomas deleted the topic/rm-requiresDOM branch June 25, 2019 19:30
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.

3 participants