Skip to content

Commit

Permalink
Update ember-inflector to v5.0.1 (types are now present)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Aug 6, 2024
1 parent fd43d81 commit 71f89a6
Show file tree
Hide file tree
Showing 4 changed files with 9,892 additions and 8,089 deletions.
4 changes: 2 additions & 2 deletions ember-can/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@typescript-eslint/parser": "^7.8.0",
"babel-plugin-ember-template-compilation": "^2.2.5",
"concurrently": "^8.2.2",
"ember-inflector": "^5.0.0",
"ember-inflector": "^5.0.1",
"ember-resolver": "^12.0.1",
"ember-source": "^5.8.0",
"ember-template-lint": "^6.0.0",
Expand Down Expand Up @@ -127,7 +127,7 @@
},
"peerDependencies": {
"@ember/string": "^3.1.1 || ^4.0.0",
"ember-inflector": "^4.0.2 || ^5.0.0",
"ember-inflector": "^4.0.2 || ^5.0.1",
"ember-source": "^3.28.0 || ^4.0.0 || >=5.0.0",
"ember-resolver": ">= 8.0.0"
}
Expand Down
1 change: 0 additions & 1 deletion ember-can/src/-private/normalize.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { camelize } from '@ember/string';
// @ts-expect-error Could not find a declaration file for module 'ember-inflector'.
import { singularize } from 'ember-inflector';

const stopWords = ['of', 'in', 'for', 'to', 'from', 'on', 'as'];
Expand Down
Loading

0 comments on commit 71f89a6

Please sign in to comment.