@daishu10000/leaflet-heat 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/eslint.config.js +18 -0
  2. package/package.json +4 -2
@@ -0,0 +1,18 @@
1
+ import js from '@eslint/js';
2
+ import globals from 'globals';
3
+
4
+ export default [
5
+ js.configs.recommended,
6
+ {
7
+ files: ['src/**/*.js'],
8
+ languageOptions: {
9
+ ecmaVersion: 2022,
10
+ sourceType: 'module',
11
+ globals: {
12
+ ...globals.browser,
13
+ L: 'readonly',
14
+ simpleheat: 'writable',
15
+ },
16
+ },
17
+ },
18
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daishu10000/leaflet-heat",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "description": "A tiny and fast Leaflet heatmap plugin (community bugfix fork).",
6
6
  "homepage": "https://github.com/daishu0000/Leaflet.heat",
@@ -25,10 +25,12 @@
25
25
  "prepublishOnly": "npm run build"
26
26
  },
27
27
  "devDependencies": {
28
+ "@eslint/js": "^10.0.1",
28
29
  "@rollup/plugin-commonjs": "^28.0.0",
29
30
  "@rollup/plugin-node-resolve": "^16.0.0",
30
31
  "@rollup/plugin-terser": "^0.4.0",
31
- "eslint": "^9.0.0",
32
+ "eslint": "^10.0.1",
33
+ "globals": "^17.3.0",
32
34
  "rollup": "^4.0.0"
33
35
  },
34
36
  "engines": {