-
Notifications
You must be signed in to change notification settings - Fork 888
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
4,983 additions
and
3,984 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,45 +2,46 @@ | |
"name": "react-leaflet-repository", | ||
"version": "1.0.0", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"type": "module", | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"lint": "eslint './packages/**/*.ts' './packages/**/*.tsx'", | ||
"test": "jest", | ||
"build": "turbo run build:clean && pnpm run -r build:types && turbo run build:js" | ||
}, | ||
"devDependencies": { | ||
"@skypack/package-check": "^0.2.2", | ||
"@swc/cli": "^0.1.62", | ||
"@swc/cli": "^0.3.12", | ||
"@swc/core": "^1.3.37", | ||
"@swc/jest": "^0.2.24", | ||
"@testing-library/react": "^14.0.0", | ||
"@testing-library/react": "^15.0.5", | ||
"@testing-library/react-hooks": "^8.0.1", | ||
"@types/jest": "^29.4.0", | ||
"@types/leaflet": "^1.9.1", | ||
"@types/warning": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.54.0", | ||
"@typescript-eslint/parser": "^5.54.0", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"cross-env": "^7.0.3", | ||
"del-cli": "^5.0.0", | ||
"eslint": "^8.35.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"jest": "^29.4.3", | ||
"jest-environment-jsdom": "^29.4.3", | ||
"leaflet": "^1.9.3", | ||
"prettier": "^2.8.4", | ||
"prettier-eslint": "^15.0.1", | ||
"prettier": "^3.2.5", | ||
"prettier-eslint": "^16.3.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-test-renderer": "^18.2.0", | ||
"ts-jest-resolver": "^2.0.0", | ||
"turbo": "^1.8.3", | ||
"typescript": "^4.9.5" | ||
"typescript": "^5.4.5" | ||
}, | ||
"jest": { | ||
"projects": [ | ||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
packages/react-leaflet/__tests__/__snapshots__/AttributionControl.tsx.snap
100644 → 100755
Empty file.
Empty file modified
0
packages/react-leaflet/__tests__/__snapshots__/MapContainer.tsx.snap
100644 → 100755
Empty file.
Empty file.
Empty file modified
0
packages/react-leaflet/__tests__/__snapshots__/ScaleControl.tsx.snap
100644 → 100755
Empty file.
Empty file modified
0
packages/react-leaflet/__tests__/__snapshots__/TileLayer.tsx.snap
100644 → 100755
Empty file.
Empty file modified
0
packages/react-leaflet/__tests__/__snapshots__/ZoomControl.tsx.snap
100644 → 100755
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,8 @@ function SVGOverlayComponent( | |
|
||
return container == null || children == null | ||
? null | ||
: createPortal(children, container) | ||
: // @ts-ignore container type | ||
Check warning on line 55 in packages/react-leaflet/src/SVGOverlay.tsx GitHub Actions / Node 20.x on ubuntu-latest
Check warning on line 55 in packages/react-leaflet/src/SVGOverlay.tsx GitHub Actions / Node 20.x on macOS-latest
Check warning on line 55 in packages/react-leaflet/src/SVGOverlay.tsx GitHub Actions / Node 22.x on ubuntu-latest
Check warning on line 55 in packages/react-leaflet/src/SVGOverlay.tsx GitHub Actions / Node 22.x on macOS-latest
|
||
createPortal(children, container) | ||
} | ||
|
||
export const SVGOverlay = forwardRef(SVGOverlayComponent) |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.