@altano/use-toc-visible-sections 1.0.6 → 1.0.7

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 (1) hide show
  1. package/package.json +12 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altano/use-toc-visible-sections",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Intersection-Observer-based Table of Contents Scroll Spy React Hook",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -23,21 +23,21 @@
23
23
  },
24
24
  "homepage": "https://github.com/altano/npm-packages/tree/main/packages/use-toc-visible-sections",
25
25
  "dependencies": {
26
- "@altano/use-visible-elements": "1.0.6"
26
+ "@altano/use-visible-elements": "1.0.7"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": "^18"
30
30
  },
31
31
  "devDependencies": {
32
- "@types/react": "^18.0.38",
33
- "@types/react-dom": "^18.0.11",
34
- "eslint": "^8.39.0",
35
- "prettier": "^2.8.7",
36
- "react": "^18",
37
- "tsup": "^7.2.0",
38
- "typescript": "^5.1.6",
32
+ "@types/react": "^18.2.64",
33
+ "@types/react-dom": "^18.2.21",
34
+ "eslint": "^8.57.0",
35
+ "prettier": "^3.2.5",
36
+ "react": "^18.2.0",
37
+ "tsup": "^8.0.2",
38
+ "typescript": "^5.4.2",
39
39
  "@altano/tsconfig": "0.0.0",
40
- "eslint-config-altano": "0.0.0"
40
+ "eslint-config-altano": "0.0.1"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -49,7 +49,8 @@
49
49
  "lint": "eslint src/**/*.ts*",
50
50
  "lint:timing": "TIMING=1 eslint src/**/*.ts*",
51
51
  "lint:fix": "TIMING=1 eslint src/**/*.ts* --fix",
52
- "format": "prettier --write src",
52
+ "format": "prettier --check src",
53
+ "format:fix": "prettier --write src",
53
54
  "clean": "rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist"
54
55
  }
55
56
  }