Skip to content

Commit

Permalink
Update Ember Simple Auth (hashicorp-forge#117)
Browse files Browse the repository at this point in the history
* Upgrade Ember Simple Auth

* Update code based on 5.0 changes
  • Loading branch information
jeffdaley authored Apr 4, 2023
1 parent d38d4ec commit 0a920c0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 23 deletions.
3 changes: 0 additions & 3 deletions web/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ module.exports = function (defaults) {
],
},
},
"ember-simple-auth": {
useSessionSetupMethod: true,
},
});

// Use `app.import` to add additional libraries to the generated
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"ember-cli-postcss": "^8.0.0",
"ember-concurrency": "^2.2.1",
"ember-power-select-with-create": "^1.0.0",
"ember-simple-auth": "^4.2.1",
"ember-simple-auth": "^5.0.0",
"instantsearch.js": "^4.40.2",
"miragejs": "^0.1.47",
"postcss-scss": "^4.0.3",
Expand Down
2 changes: 1 addition & 1 deletion web/types/ember-simple-auth/services/session.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface Data {
}

declare module "ember-simple-auth/services/session" {
export default class EmberSimpleAuthSessionService extends Service.extend(Evented) {
export default class EmberSimpleAuthSessionService extends Service {
data: Data;
setup: () => void;
authenticate(...args: any[]): RSVP.Promise;
Expand Down
25 changes: 7 additions & 18 deletions web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4994,13 +4994,6 @@ __metadata:
languageName: node
linkType: hard

"base-64@npm:^0.1.0":
version: 0.1.0
resolution: "base-64@npm:0.1.0"
checksum: 5a42938f82372ab5392cbacc85a5a78115cbbd9dbef9f7540fa47d78763a3a8bd7d598475f0d92341f66285afd377509851a9bb5c67bbecb89686e9255d5b3eb
languageName: node
linkType: hard

"base64-js@npm:^1.0.2, base64-js@npm:^1.3.1":
version: 1.5.1
resolution: "base64-js@npm:1.5.1"
Expand Down Expand Up @@ -5481,7 +5474,7 @@ __metadata:
languageName: node
linkType: hard

"broccoli-funnel@npm:^1.2.0 || ^2.0.0, broccoli-funnel@npm:^2.0.0, broccoli-funnel@npm:^2.0.1, broccoli-funnel@npm:^2.0.2":
"broccoli-funnel@npm:^2.0.0, broccoli-funnel@npm:^2.0.1, broccoli-funnel@npm:^2.0.2":
version: 2.0.2
resolution: "broccoli-funnel@npm:2.0.2"
dependencies:
Expand Down Expand Up @@ -5573,7 +5566,7 @@ __metadata:
languageName: node
linkType: hard

"broccoli-merge-trees@npm:^4.0.0, broccoli-merge-trees@npm:^4.2.0":
"broccoli-merge-trees@npm:^4.2.0":
version: 4.2.0
resolution: "broccoli-merge-trees@npm:4.2.0"
dependencies:
Expand Down Expand Up @@ -8645,21 +8638,17 @@ __metadata:
languageName: node
linkType: hard

"ember-simple-auth@npm:^4.2.1":
version: 4.2.2
resolution: "ember-simple-auth@npm:4.2.2"
"ember-simple-auth@npm:^5.0.0":
version: 5.0.0
resolution: "ember-simple-auth@npm:5.0.0"
dependencies:
base-64: ^0.1.0
broccoli-file-creator: ^2.1.1
broccoli-funnel: ^1.2.0 || ^2.0.0
broccoli-merge-trees: ^4.0.0
ember-cli-babel: ^7.20.5
ember-cli-is-package-missing: ^1.0.0
ember-cookies: ^0.5.0
silent-error: ^1.0.0
peerDependencies:
ember-fetch: ^8.0.1
checksum: 47d86cdcfc884d8a80c9cb9f2fa9ff1ede06d0849d485df9062595d683bfa00d14e09c3bf48c6e4132f77c6cffe3dad0d40aa2d52ea3c414a6d019200204095b
checksum: bf48dc20566b66d325b701200665eaf8322348966be1df57c80f9d6225a886663307950ffda075e04705da4574972cca63a9d0564786a08a968916c4d10ce0e7
languageName: node
linkType: hard

Expand Down Expand Up @@ -10914,7 +10903,7 @@ __metadata:
ember-select: ^0.8.3
ember-set-body-class: ^1.0.2
ember-set-helper: ^2.0.1
ember-simple-auth: ^4.2.1
ember-simple-auth: ^5.0.0
ember-source: ~3.28.10
ember-template-lint: ^3.15.0
ember-test-selectors: ^6.0.0
Expand Down

0 comments on commit 0a920c0

Please sign in to comment.