PillowPillow / ng2-webstorage

Localstorage and sessionstorage manager - Angular service
MIT License
428 stars 92 forks source link

Support for Angular 16 #183

Closed zstundys closed 1 year ago

zstundys commented 1 year ago

Nuff said

blgiorgi commented 1 year ago

npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: sport@0.0.0 npm ERR! Found: @angular/common@16.0.1 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"~16.0.0" from the root project
npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^15.0.0" from ngx-webstorage@11.1.1 npm ERR! node_modules/ngx-webstorage npm ERR! ngx-webstorage@"11.1.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

JamesJansson commented 1 year ago

Just use the native localStorage.getItem() localStorage.setItem() localStorage.removeItem(). This package looks like it is not actively maintained which means future Angular updates will keep breaking your builds.

mati4455 commented 1 year ago

Hello @PillowPillow - any chance to handle this topic?

PillowPillow commented 1 year ago

Hi, I'm juste starting to upgrade our app to the v16 in my company. A new version of this package is available supporting angular16. regards