Skip to content

Commit d568dbc

Browse files
authored
Merge pull request #45 from Patternslib/housekeeping
Housekeeping
2 parents 243510d + a157701 commit d568dbc

File tree

4 files changed

+3125
-3213
lines changed

4 files changed

+3125
-3213
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
name: test
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: '16'
17+
node-version: '18'
1818
cache: 'yarn'
1919
- run: |
2020
make install

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
"license": "MIT",
66
"main": "./src/leaflet.js",
77
"dependencies": {
8-
"@patternslib/patternslib": ">=9.8.2",
8+
"@patternslib/patternslib": ">=9.9.16",
99
"fontawesome-free": "^1.0.4",
10-
"jquery": "^3.6.4",
11-
"leaflet": "^1.9.3",
12-
"leaflet-geosearch": "^3.7.0",
10+
"jquery": "^3.7.1",
11+
"leaflet": "^1.9.4",
12+
"leaflet-geosearch": "^4.0.0",
1313
"leaflet-minimap": "^3.6.1",
14-
"leaflet-providers": "^1.13.0",
14+
"leaflet-providers": "^2.0.0",
1515
"leaflet-sleep": "^0.5.2",
1616
"leaflet.awesome-markers": "^2.0.5",
17-
"leaflet.fullscreen": "^2.4.0",
18-
"leaflet.locatecontrol": "^0.79.0",
17+
"leaflet.fullscreen": "^3.0.2",
18+
"leaflet.locatecontrol": "^0.81.1",
1919
"leaflet.markercluster": "^1.5.3",
2020
"leaflet.simplemarkers": "git+https://github.com/jdomingu/Leaflet.SimpleMarkers.git"
2121
},
2222
"devDependencies": {
23-
"@patternslib/dev": "^3.1.12"
23+
"@patternslib/dev": "^3.6.1"
2424
},
2525
"scripts": {
2626
"start": "NODE_ENV=development webpack serve --config webpack.config.js",

src/leaflet.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ parser.addArgument("map_layers", [
3838
{ title: "Map", id: "OpenStreetMap.Mapnik", options: {} },
3939
{ title: "Satellite", id: "Esri.WorldImagery", options: {} },
4040
{ title: "Topographic", id: "OpenTopoMap", options: {} },
41-
{ title: "Toner", id: "Stamen.Toner", options: {} },
4241
]);
4342

4443
parser.addArgument("image_path", "node_modules/leaflet.awesome-markers/dist/images");
@@ -63,7 +62,7 @@ class Pattern extends BasePattern {
6362
await import("leaflet.awesome-markers");
6463
await import("leaflet.fullscreen");
6564

66-
const options = (this.options = parser.parse(this.el));
65+
const options = this.options;
6766

6867
const fitBoundsOptions = (this.fitBoundsOptions = {
6968
maxZoom: options.zoom,

0 commit comments

Comments
 (0)