@thi.ng/expose 1.2.63 → 1.2.68

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/package.json +73 -73
  2. package/CHANGELOG.md +0 -42
package/package.json CHANGED
@@ -1,74 +1,74 @@
1
1
  {
2
- "name": "@thi.ng/expose",
3
- "version": "1.2.63",
4
- "description": "Conditional global variable exposition",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/expose",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "devDependencies": {
42
- "@types/node": "^24.3.0",
43
- "esbuild": "^0.25.9",
44
- "typedoc": "^0.28.12",
45
- "typescript": "^5.9.2"
46
- },
47
- "keywords": [
48
- "global",
49
- "scope",
50
- "typescript",
51
- "variable"
52
- ],
53
- "publishConfig": {
54
- "access": "public"
55
- },
56
- "browser": {
57
- "process": false,
58
- "setTimeout": false
59
- },
60
- "engines": {
61
- "node": ">=18"
62
- },
63
- "files": [
64
- "./*.js",
65
- "./*.d.ts"
66
- ],
67
- "exports": {
68
- ".": {
69
- "default": "./index.js"
70
- }
71
- },
72
- "thi.ng": {},
73
- "gitHead": "e215a3e8de3809736ba0042c93bd8703a5a1a337\n"
74
- }
2
+ "name": "@thi.ng/expose",
3
+ "version": "1.2.68",
4
+ "description": "Conditional global variable exposition",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/expose",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "devDependencies": {
42
+ "@types/node": "^24.9.1",
43
+ "esbuild": "^0.25.11",
44
+ "typedoc": "^0.28.14",
45
+ "typescript": "^5.9.3"
46
+ },
47
+ "keywords": [
48
+ "global",
49
+ "scope",
50
+ "typescript",
51
+ "variable"
52
+ ],
53
+ "publishConfig": {
54
+ "access": "public"
55
+ },
56
+ "browser": {
57
+ "process": false,
58
+ "setTimeout": false
59
+ },
60
+ "engines": {
61
+ "node": ">=18"
62
+ },
63
+ "files": [
64
+ "./*.js",
65
+ "./*.d.ts"
66
+ ],
67
+ "exports": {
68
+ ".": {
69
+ "default": "./index.js"
70
+ }
71
+ },
72
+ "thi.ng": {},
73
+ "gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
74
+ }
package/CHANGELOG.md DELETED
@@ -1,42 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ### [1.2.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@1.2.3) (2023-11-09)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
19
-
20
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@1.2.0) (2023-10-24)
21
-
22
- #### 🚀 Features
23
-
24
- - update import.meta.env check ([#425](https://github.com/thi-ng/umbrella/issues/425)) ([c8aa353](https://github.com/thi-ng/umbrella/commit/c8aa353))
25
- - also check for `import.meta.env.UMBRELLA_GLOBALS` for non-ViteJS tooling
26
- - btw. this is **not** a fix for the esbuild issue in [#425](https://github.com/thi-ng/umbrella/issues/425)
27
- (but part of its solution posted in comments)
28
-
29
- ### [1.1.15](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@1.1.15) (2022-10-29)
30
-
31
- #### 🩹 Bug fixes
32
-
33
- - fix env var check ([#361](https://github.com/thi-ng/umbrella/issues/361)) ([ac45723](https://github.com/thi-ng/umbrella/commit/ac45723))
34
- - apply same fix as in [1d3a805f8](https://github.com/thi-ng/umbrella/commit/1d3a805f8)
35
-
36
- ### [1.1.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@1.1.13) (2022-10-04)
37
-
38
- #### 🩹 Bug fixes
39
-
40
- - update expose switch logic ([9a98c3e](https://github.com/thi-ng/umbrella/commit/9a98c3e))
41
- - remove support for obsolete (& broken) snowpack setup
42
- - add support for Vite's env var handling