@everystack/server 0.4.19 → 0.4.20
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 +3 -3
- package/src/image.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everystack/server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.20",
|
|
4
4
|
"description": "Server runtime primitives for Lambda — event adapters, routing, SSR, image processing",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"author": "Scalable Technology, Inc. <licensing@scalable.technology>",
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
"sst": "4.13.1",
|
|
164
164
|
"ts-jest": "29.4.9",
|
|
165
165
|
"typescript": "5.9.3",
|
|
166
|
-
"@everystack/auth": "0.4.
|
|
167
|
-
"@everystack/cli": "0.4.
|
|
166
|
+
"@everystack/auth": "0.4.3",
|
|
167
|
+
"@everystack/cli": "0.4.57"
|
|
168
168
|
},
|
|
169
169
|
"scripts": {
|
|
170
170
|
"test": "jest",
|
package/src/image.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/// <reference path="./heic-decode.d.ts" />
|
|
2
|
+
// `heic-decode` ships no types, so this file needs the ambient shim NEXT TO IT — not merely
|
|
3
|
+
// present in the package. ts-jest compiles per file, and an ambient .d.ts nothing imports
|
|
4
|
+
// enters the program only via `include`/`files`, which this package's own tsconfig supplies
|
|
5
|
+
// and a CONSUMER's does not. So the shim covered `packages/server`'s suite and no one else:
|
|
6
|
+
// the example app type-checked this same source and failed on TS7016. The reference directive
|
|
7
|
+
// binds the declaration to the source that needs it, so every program compiling image.ts gets
|
|
8
|
+
// it. (Inert at runtime — erased with the types.)
|
|
9
|
+
|
|
1
10
|
/**
|
|
2
11
|
* @everystack/server/image — On-demand image processing Lambda.
|
|
3
12
|
*
|