Skip to content

Commit

Permalink
Merge pull request #338 from OpenCageData/depfu/batch_all/yarn/2024-1…
Browse files Browse the repository at this point in the history
…1-06

Update all Yarn dependencies (2024-11-06)
  • Loading branch information
tsamaya authored Nov 8, 2024
2 parents a374853 + 48d00ae commit bc58f5a
Show file tree
Hide file tree
Showing 4 changed files with 434 additions and 416 deletions.
6 changes: 3 additions & 3 deletions examples/react-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.11",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.2",
"@vitejs/plugin-react": "^4.3.3",
"eslint-plugin-jest": "^28.8.3",
"vite": "^5.4.8"
"vite": "^5.4.10"
}
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"watch": "lerna run watch --parallel"
},
"devDependencies": {
"@babel/core": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@babel/register": "^7.25.7",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@eslint/js": "^9.13.0",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"chai": "^4.3.10",
Expand All @@ -34,23 +34,23 @@
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-security": "^3.0.1",
"fetch-mock": "^11.1.5",
"fetch-mock": "^12.0.2",
"globals": "^15.11.0",
"isomorphic-unfetch": "^4.0.2",
"lerna": "^8.1.8",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.3",
"rollup": "4.24.0",
"rollup-plugin-replace": "^2.2.0",
"sass": "^1.79.4",
"sass": "^1.80.6",
"sinon": "^19.0.2"
}
}
5 changes: 4 additions & 1 deletion packages/geosearch-core/test/OpenCageGeoSearchPlugin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,15 @@ describe('geosearch-core:OpenCageGeoSearchPlugin', () => {
const url = `https://api.opencagedata.com/geosearch?q=${query}`;

beforeEach(() => {
fetchMock.mockGlobal();
fetchMock.get(url, payload);
});

afterEach(() => {
fetchMock.reset();
fetchMock.clearHistory();
fetchMock.unmockGlobal();
});

it('should return results with greno', async () => {
const plugin = theModule.OpenCageGeoSearchPlugin({
key: 'a real key',
Expand Down
Loading

0 comments on commit bc58f5a

Please sign in to comment.