Skip to content

Commit

Permalink
Upgrade optimism version to 0.18.0 (#11396)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller authored Nov 29, 2023
1 parent 4adbb2e commit 300b78f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
3 changes: 1 addition & 2 deletions integration-tests/browser-esm/html/jspm-prepared.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
},
"scopes": {
"https://ga.jspm.io/": {
"@wry/context": "https://ga.jspm.io/npm:@wry/[email protected]/lib/index.js",
"@wry/equality": "https://ga.jspm.io/npm:@wry/[email protected]/lib/index.js",
"@wry/trie": "https://ga.jspm.io/npm:@wry/[email protected]/lib/index.js",
"graphql": "https://ga.jspm.io/npm:[email protected]/index.mjs",
"graphql-tag": "https://ga.jspm.io/npm:[email protected]/lib/index.js",
"optimism": "https://ga.jspm.io/npm:optimism@0.17.5/lib/index.js",
"optimism": "https://ga.jspm.io/npm:optimism@0.18.0/lib/index.js",
"react": "https://ga.jspm.io/npm:[email protected]/dev.index.js",
"symbol-observable": "https://ga.jspm.io/npm:[email protected]/lib/index.js",
"ts-invariant": "https://ga.jspm.io/npm:[email protected]/lib/invariant.js",
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/browser-esm/html/unpkg-unmangled.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
{
"imports": {
"@apollo/client": "https://unpkg.com/@apollo/[email protected]/index.js",
"@wry/context": "https://unpkg.com/@wry/[email protected]/lib/index.js",
"@wry/equality": "https://unpkg.com/@wry/[email protected]/lib/index.js",
"@wry/trie": "https://unpkg.com/@wry/[email protected]/lib/index.js",
"graphql": "https://unpkg.com/[email protected]/index.mjs",
"graphql-tag": "https://unpkg.com/[email protected]/lib/index.js",
"optimism": "https://unpkg.com/optimism@0.17.5/lib/index.js",
"optimism": "https://unpkg.com/optimism@0.18.0/lib/index.js",
"react": "https://ga.jspm.io/npm:[email protected]/dev.index.js",
"symbol-observable": "https://ga.jspm.io/npm:[email protected]/lib/index.js",
"ts-invariant": "https://unpkg.com/[email protected]/lib/invariant.js",
Expand Down
21 changes: 16 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,11 @@
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.1.1",
"@wry/context": "^0.7.3",
"@wry/equality": "^0.5.6",
"@wry/trie": "^0.5.0",
"graphql-tag": "^2.12.6",
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.17.5",
"optimism": "^0.18.0",
"prop-types": "^15.7.2",
"response-iterator": "^0.2.6",
"symbol-observable": "^4.0.0",
Expand Down
3 changes: 1 addition & 2 deletions src/cache/inmemory/reactiveVars.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { OptimisticDependencyFunction } from "optimism";
import { dep } from "optimism";
import { Slot } from "@wry/context";
import { dep, Slot } from "optimism";
import type { InMemoryCache } from "./inMemoryCache.js";
import type { ApolloCache } from "../../core/index.js";

Expand Down

0 comments on commit 300b78f

Please sign in to comment.