tslib `DeprecationWarning` with node v16 (15?)
See original GitHub issueWhat happens and why it is wrong
(node:37540) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at E:\pocket\node_modules\rollup-plugin-typescript2\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./*".
Environment
operating system: Windows 10
node: 16.0.0
npm: 7.11.1
yarn: 2.4.1
Versions
rollup: ^2.41.0
rollup-plugin-typescript2: ^0.30.0
typescript: 4.2.3
Issue Analytics
- State:
- Created 2 years ago
- Reactions:55
- Comments:10 (3 by maintainers)
Top Results From Across the Web
A brand new website interface for an even better experience!
Deprecation Warning with node v16 (15?)
Read more >Ask Question - Stack Overflow
DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at "...\node_modules\postcss\ ...
Read more >Deprecated APIs | Node.js v19.3.0 Documentation
Deprecated APIs#. Node.js APIs might be deprecated for any of the following reasons: Use of the API is unsafe. An improved alternative API...
Read more >cannot read properties of null (reading 'matches') npm - You.com
I run npm install canvas png-js date-fns axios crypto-js ts-md5 tslib ... setup (node:77826) DeprecationWarning: Default PostCSS plugins are deprecated.
Read more >[dspace-tech] Problem on accessing front page on local Network
node -v v16.13.0 ... tsconfig.ts-node.json scripts/set-env.ts --prod ... package at /home/dspace-7-angular/node_modules/tslib/package.json.
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 FreeTop 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
Top GitHub Comments
please use the thumbs up on the first comment instead of spamming the thread. New (useless) comments will notify everybody subscribed to this thread. Thank you.
@ezolenko, thanks for getting back to me: So,
yarn list
yields:Edit: oh, flip… i dont get
yarn
dependency resolution logic a bit…yarn info
showed me the plugin is at 0.31.1, but now if i understand correctly it just shows the latest available version, not what i have installed. Now that i ranyarn list
is see that plugin is at0.30.0
. Triedyarn upgrade rollup-plugin-typescript2
to get the latest version but it still installed me0.30.0
, so i ended up withyarn upgrade rollup-plugin-typescript2@0.31.1
, which installed0.31.1
and bumped mypackage.json
. And the issues is indeed fixed, no more warnings 💥 Thanks @ezolenko, sorry for the false alarm