javascript-sdk icon indicating copy to clipboard operation
javascript-sdk copied to clipboard

[ENHANCEMENT] Remove unused dependencies

Open alexparish opened this issue 1 year ago • 1 comments

Description

It appears the following devDependencies are unused: json-loader, ts-jest and tslib.

Benefits

This is general housekeeping. Contributors would need to install fewer packages which means installing the library will be marginally less resource and bandwidth intensive.

Detail

No response

Examples

No response

Risks/Downsides

No response

alexparish avatar Nov 12 '24 21:11 alexparish

@raju-opti Is this something you'd accept a PR for?

Additionally, the file at lib/odp/ua_parser/ua_parser.browser.ts can be removed as it is not referenced anywhere. This will allow the removal of the ua-parser-js package as a dependency.

alexparish avatar Mar 20 '25 10:03 alexparish

Hey @alexparish, in v6, we are publishing the ua_parser as separate bundle and moved ua-parser-js from dependencies to peerDependencies. Also, the redundant packages from the devDependencies has been removed as part of multiple PRs. Closing this issue.

raju-opti avatar Oct 07 '25 14:10 raju-opti