mime-bytes 0.3.0 → 0.3.2
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/README.md +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -357,6 +357,7 @@ Contributions are welcome! Please feel free to submit a Pull Request. For major
|
|
|
357
357
|
### 🧪 Testing
|
|
358
358
|
|
|
359
359
|
* [launchql/pgsql-test](https://github.com/launchql/launchql/tree/main/packages/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
|
|
360
|
+
* [launchql/supabase-test](https://github.com/launchql/launchql/tree/main/packages/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.
|
|
360
361
|
* [launchql/graphile-test](https://github.com/launchql/launchql/tree/main/packages/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
361
362
|
* [launchql/pg-query-context](https://github.com/launchql/launchql/tree/main/packages/pg-query-context): **🔒 Session context injection** to add session-local context (e.g., `SET LOCAL`) into queries—ideal for setting `role`, `jwt.claims`, and other session settings.
|
|
362
363
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mime-bytes",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "Lightning-fast file type detection using magic bytes (file signatures) with a focus on stream processing and minimal memory usage",
|
|
6
6
|
"main": "index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"copy": "copyfiles -f ../../LICENSE README.md package.json dist",
|
|
24
24
|
"clean": "rimraf dist/**",
|
|
25
25
|
"prepare": "npm run build",
|
|
26
|
-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
|
|
27
|
-
"build:dev": "npm run clean; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
|
|
26
|
+
"build": "npm run clean; tsc -p tsconfig.json; tsc -p tsconfig.esm.json; npm run copy",
|
|
27
|
+
"build:dev": "npm run clean; tsc -p tsconfig.json --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
|
|
28
28
|
"lint": "eslint . --fix",
|
|
29
29
|
"test": "jest",
|
|
30
30
|
"test:watch": "jest --watch"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"@types/glob": "^8.1.0",
|
|
35
35
|
"glob": "^11.0.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "03ef7e72674753bcb7d826d60cc8a78818ca6f6d"
|
|
38
38
|
}
|