tslib icon indicating copy to clipboard operation
tslib copied to clipboard

fix: remove generic package export

Open tobiasdiez opened this issue 1 year ago • 2 comments

I got the following error with nuxt:

[DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at D:\Programming\JabRefOnline\node_modules\.pnpm\node_modules\tslib\package.json

(I think this is windows specific)

This is fixed by removing the generic ./* export field.

tobiasdiez avatar Jul 28 '24 11:07 tobiasdiez

See https://github.com/microsoft/tslib/pull/135, this was intentionally added

jakebailey avatar Jul 28 '24 15:07 jakebailey

This talks mostly about older node versions. Should I also delete ./ which is deprecated now for a long time?

tobiasdiez avatar Jul 30 '24 06:07 tobiasdiez