@depict-ai/utilishared 2.0.2 → 2.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",
@@ -17,6 +17,7 @@
17
17
  "test": "jest"
18
18
  },
19
19
  "targets": {
20
+ "types": {},
20
21
  "module_latest": {
21
22
  "outputFormat": "esmodule",
22
23
  "isLibrary": true,
@@ -52,23 +53,81 @@
52
53
  "browsers": "supports array-flat"
53
54
  },
54
55
  "optimize": false
56
+ },
57
+ "module_latest_server": {
58
+ "outputFormat": "esmodule",
59
+ "isLibrary": true,
60
+ "context": "node",
61
+ "distDir": "dist/server/esmodule_latest",
62
+ "engines": {
63
+ "browsers": "last 1 chrome version"
64
+ },
65
+ "optimize": false
66
+ },
67
+ "main_latest_server": {
68
+ "outputFormat": "commonjs",
69
+ "isLibrary": true,
70
+ "context": "node",
71
+ "distDir": "dist/server/commonjs_latest",
72
+ "engines": {
73
+ "browsers": "last 1 chrome version"
74
+ },
75
+ "optimize": false
76
+ },
77
+ "module_es10_server": {
78
+ "outputFormat": "esmodule",
79
+ "isLibrary": true,
80
+ "context": "node",
81
+ "distDir": "dist/server/esmodule_ES10",
82
+ "engines": {
83
+ "browsers": "supports array-flat"
84
+ },
85
+ "optimize": false
86
+ },
87
+ "main_es10_server": {
88
+ "outputFormat": "commonjs",
89
+ "isLibrary": true,
90
+ "context": "node",
91
+ "distDir": "dist/server/commonjs_ES10",
92
+ "engines": {
93
+ "browsers": "supports array-flat"
94
+ },
95
+ "optimize": false
55
96
  }
56
97
  },
57
98
  "exports": {
58
99
  ".": {
59
100
  "types": "./ES10/index.d.ts",
60
- "import": "./ES10/index.js",
61
- "require": "./ES10/index.cjs"
101
+ "browser": {
102
+ "import": "./ES10/index.js",
103
+ "require": "./ES10/index.cjs"
104
+ },
105
+ "node": {
106
+ "import": "./server/ES10/index.js",
107
+ "require": "./server/ES10/index.cjs"
108
+ }
62
109
  },
63
110
  "./latest": {
64
111
  "types": "./latest/index.d.ts",
65
- "import": "./latest/index.js",
66
- "require": "./latest/index.cjs"
112
+ "browser": {
113
+ "import": "./latest/index.js",
114
+ "require": "./latest/index.cjs"
115
+ },
116
+ "node": {
117
+ "import": "./server/latest/index.js",
118
+ "require": "./server/latest/index.cjs"
119
+ }
67
120
  },
68
121
  "./ES10": {
69
122
  "types": "./ES10/index.d.ts",
70
- "import": "./ES10/index.js",
71
- "require": "./ES10/index.cjs"
123
+ "browser": {
124
+ "import": "./ES10/index.js",
125
+ "require": "./ES10/index.cjs"
126
+ },
127
+ "node": {
128
+ "import": "./server/ES10/index.js",
129
+ "require": "./server/ES10/index.cjs"
130
+ }
72
131
  }
73
132
  },
74
133
  "files": [