deprecation warnings still exist
See original GitHub issueJust 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:
- Created 7 years ago
- Comments:14 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
3.5.3 published.