Skip to content

Commit

Permalink
Merge pull request #2083 from ember-learn/upgrade-ember-data
Browse files Browse the repository at this point in the history
Upgrade ember-data
  • Loading branch information
ef4 authored Dec 10, 2024
2 parents 916e9d2 + 6e32781 commit c6cd460
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 152 deletions.
14 changes: 14 additions & 0 deletions config/fastboot.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ module.exports = function () {
buildSandboxGlobals(defaultGlobals) {
return Object.assign({}, defaultGlobals, {
atob: atob,
AbortController,
ReadableStream:
typeof ReadableStream !== 'undefined'
? ReadableStream
: require('node:stream/web').ReadableStream,
WritableStream:
typeof WritableStream !== 'undefined'
? WritableStream
: require('node:stream/web').WritableStream,
TransformStream:
typeof TransformStream !== 'undefined'
? TransformStream
: require('node:stream/web').TransformStream,
Headers: typeof Headers !== 'undefined' ? Headers : undefined,
});
},
};
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.7.0",
"@ember-data/adapter": "^4.4.3",
"@ember-data/model": "^4.4.3",
"@ember-data/serializer": "^4.4.3",
"@ember-data/adapter": "^4.12.0",
"@ember-data/model": "^4.12.0",
"@ember-data/serializer": "^4.12.0",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"@percy/cli": "^1.21.0",
Expand All @@ -66,7 +66,7 @@
"ember-cli-netlify": "^0.4.1",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-data": "~4.4.0",
"ember-data": "~4.12.0",
"ember-dictionary": "^0.2.6",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.1.1",
Expand Down Expand Up @@ -125,5 +125,8 @@
"node": "20.11.0",
"npm": "9.6.3"
},
"fastbootDependencies": [
"crypto"
],
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}
Loading

0 comments on commit c6cd460

Please sign in to comment.