@dolthub/web-utils 0.2.0 → 0.2.1

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/README.md +4 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -16,11 +16,11 @@ or
16
16
 
17
17
  ### Peer dependencies
18
18
 
19
- The following peer dependency must be installed in your project:
19
+ The following peer dependency may need to be installed in your project:
20
20
 
21
- | Package | Required |
22
- |---|---|
23
- | `node-sql-parser` | Yes |
21
+ | Package | Required |
22
+ | ----------------- | ------------------------------------ |
23
+ | `node-sql-parser` | No (only needed if using sql parser) |
24
24
 
25
25
  ```
26
26
  % yarn add node-sql-parser
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dolthub/web-utils",
3
3
  "author": "DoltHub",
4
4
  "description": "A collection of utilities for building web applications",
5
- "version": "0.2.0",
5
+ "version": "0.2.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -27,6 +27,9 @@
27
27
  "yalc:publish": "yarn dbuild && yalc publish",
28
28
  "yalc:push": "yarn dbuild && yalc push"
29
29
  },
30
+ "dependencies": {
31
+ "timeago.js": "^4.0.2"
32
+ },
30
33
  "devDependencies": {
31
34
  "@babel/core": "^7.28.3",
32
35
  "@babel/preset-env": "^7.28.6",
@@ -63,10 +66,7 @@
63
66
  },
64
67
  "peerDependenciesMeta": {
65
68
  "node-sql-parser": {
66
- "optional": false
69
+ "optional": true
67
70
  }
68
- },
69
- "dependencies": {
70
- "timeago.js": "^4.0.2"
71
71
  }
72
- }
72
+ }