@rg-dev/stdlib 1.0.49 → 1.0.51

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/lib/index.cjs ADDED
@@ -0,0 +1,25 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/index.ts
20
+ var index_exports = {};
21
+ __export(index_exports, {
22
+ VERSION: () => VERSION
23
+ });
24
+ module.exports = __toCommonJS(index_exports);
25
+ var VERSION = "1";
package/lib/index.d.cts CHANGED
@@ -2,4 +2,6 @@ import './browser-env';
2
2
  import './node-env'
3
3
  import './common-env'
4
4
  import './node-download'
5
- import './trpc-helpers'
5
+ import './trpc-helpers'
6
+
7
+ export declare const VERSION:string
package/lib/index.d.ts CHANGED
@@ -2,4 +2,6 @@ import './browser-env';
2
2
  import './node-env'
3
3
  import './common-env'
4
4
  import './node-download'
5
- import './trpc-helpers'
5
+ import './trpc-helpers'
6
+
7
+ export declare const VERSION:string
package/lib/index.js ADDED
@@ -0,0 +1,5 @@
1
+ // src/index.ts
2
+ var VERSION = "1";
3
+ export {
4
+ VERSION
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rg-dev/stdlib",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -12,28 +12,18 @@
12
12
  "files": [
13
13
  "lib"
14
14
  ],
15
- "typesVersions": {
16
- "*": {
17
- "lib/trpc-helpers": [
18
- "lib/trpc-helpers.d.ts"
19
- ],
20
- "lib/common-env": [
21
- "lib/common-env.d.ts"
22
- ],
23
- "lib/browser-env": [
24
- "lib/browser-env.d.ts"
25
- ],
26
- "lib/node-env": [
27
- "lib/node-env.d.ts"
28
- ],
29
- "lib/node-download": [
30
- "lib/node-download.d.ts"
31
- ]
32
- }
33
- },
34
- "types": "./lib/index.d.cts",
15
+
16
+ "types": "./lib/index.d.ts",
35
17
  "type": "module",
36
18
  "exports": {
19
+
20
+ ".":{
21
+ "import": "./lib/index.js",
22
+ "require": "./lib/index.cjs",
23
+ "types": "./lib/index.d.ts"
24
+ },
25
+
26
+
37
27
  "./lib/trpc-helpers": {
38
28
  "import": "./lib/trpc-helpers.js",
39
29
  "require": "./lib/trpc-helpers.cjs",