funkensturm / ember-local-storage

The addon provides a storageFor computed property that returns a proxy and persists the changes to localStorage or sessionStorage. It ships with an ember-data adapter.
https://www.funkensturm.com/ember-local-storage/
MIT License
218 stars 76 forks source link

Ember 2.16.2 Deprecation warning Ember.String.singularize() #271

Closed eharrow closed 6 years ago

eharrow commented 6 years ago
DEPRECATION: Ember.String.singularize() is deprecated. Please explicitly: import { singularize } from 'ember-inflector'; [deprecation id: ember-inflector.globals]
        at logDeprecationStackTrace (http://localhost:4200/assets/vendor.js:29324:21)
        at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:29546:9)
        at raiseOnDeprecation (http://localhost:4200/assets/vendor.js:29354:14)
        at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:29546:9)
        at invoke (http://localhost:4200/assets/vendor.js:29558:9)
        at Object.deprecate (http://localhost:4200/assets/vendor.js:29412:24)
        at Object.get (http://localhost:4200/assets/vendor.js:114427:13)
        at Module.callback (http://localhost:4200/assets/vendor.js:116715:34)
        at Module.exports (http://localhost:4200/assets/vendor.js:111:32)

in /node_modules/ember-local-storage/addon/helpers/import-export.js

Thanks

fsmanuel commented 6 years ago

@eharrow Thanks for reporting. Do you mind opening a PR to fix it? I'll be happy to merge.

artzte commented 6 years ago

Thanks for this awesome add-on! +1 on clearing this deprecation warning.

fsmanuel commented 6 years ago

@eharrow @artzte @mminkoff released as 1.4.1

fsmanuel commented 6 years ago

@jlblcc released as 1.4.1