import dasherize from @ember/string to fix Mirage deprecation (#670)
This commit is contained in:
parent
031eedc279
commit
3ff4e99bc6
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
import { RestSerializer } from 'ember-cli-mirage';
|
||||
import { dasherize, pluralize } from 'ember-cli-mirage/utils/inflector';
|
||||
import { dasherize } from '@ember/string';
|
||||
import { pluralize } from 'ember-cli-mirage/utils/inflector';
|
||||
|
||||
export default RestSerializer.extend({
|
||||
keyForForeignKey(relationshipName) {
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@ember/optional-features": "^2.0.0",
|
||||
"@ember/string": "^3.1.1",
|
||||
"@ember/test-helpers": "^2.6.0",
|
||||
"@glimmer/component": "^1.0.4",
|
||||
"@glimmer/tracking": "^1.0.4",
|
||||
|
|
|
@ -1291,7 +1291,7 @@
|
|||
ember-cli-babel "^7.26.11"
|
||||
ember-modifier-manager-polyfill "^1.2.0"
|
||||
|
||||
"@ember/string@^3.0.0":
|
||||
"@ember/string@^3.0.0", "@ember/string@^3.1.1":
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@ember/string/-/string-3.1.1.tgz#0a5ac0d1e4925259e41d5c8d55ef616117d47ff0"
|
||||
integrity sha512-UbXJ+k3QOrYN4SRPHgXCqYIJ+yWWUg1+vr0H4DhdQPTy8LJfyqwZ2tc5uqpSSnEXE+/1KopHBE5J8GDagAg5cg==
|
||||
|
|
Loading…
Reference in a new issue