question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

deprecation warnings still exist

See original GitHub issue

Just letting you know, a fresh install of @turf/turf yields:

$ npm install @turf/turf
npm WARN deprecated turf-distance@3.0.12: Turf packages are now namespaced: please use @turf/distance instead
npm WARN deprecated turf-helpers@3.0.12: Turf packages are now namespaced: please use @turf/helpers instead
npm WARN deprecated turf-bearing@3.0.12: Turf packages are now namespaced: please use @turf/bearing instead
npm WARN deprecated turf-destination@3.0.12: Turf packages are now namespaced: please use @turf/destination instead
npm WARN deprecated turf-invariant@3.0.12: Turf packages are now namespaced: please use @turf/invariant instead

They all seem to be coming from one dep, turf-line-slice-along.

$ npm ls turf-helpers turf-distance turf-bearing turf-destination turf-invariant
staeco@0.0.1 /Users/contra/Projects/staeco
└─┬ @turf/turf@3.5.2
  └─┬ @turf/line-slice-along@3.5.2
    ├─┬ turf-bearing@3.0.12
    │ └── turf-invariant@3.0.12
    ├── turf-destination@3.0.12
    ├── turf-distance@3.0.12
    └── turf-helpers@3.0.12

Updating the package.json of that module should fix all of these errors and make installs clean.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
tmcwcommented, Nov 7, 2016

I’m afraid that’d be an abstraction on an abstraction: turf.js already uses lerna to organize its versions and sub-versions dependently. semantic-release looks quite nice, but doesn’t look like it’s geared for or tolerant of monorepos.

1reaction
tmcwcommented, Nov 7, 2016

3.5.3 published.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dealing with Deprecation Warnings - Java Cookbook [Book]
As a general rule, when something has been deprecated, you should not use it in any new code and, when maintaining code, strive...
Read more >
How can I get rid of deprecated warnings in ... - Stack Overflow
One way to implement deprecation warnings is to produce warnings on calls to deprecated functions, unless you are calling from a deprecated ...
Read more >
Deprecation warnings in legacy JavaScript code using ...
Deprecation warnings are messages that tell you to stop using some existing feature, as it is going to be removed or has been...
Read more >
Hiding deprecation warnings – IDEs Support (IntelliJ Platform)
I wanted to disable only the deprecation and serial UID warnings, so I went to the Compiler options in settings and put -Xlint...
Read more >
warnings — Warning control — Python 3.11.1 documentation
There are two stages in warning control: first, each time a warning is ... Base category for warnings about deprecated features when those...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found