@proteinjs/db-file 1.10.11 → 1.10.13
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/.eslintrc.js +15 -1
- package/CHANGELOG.md +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/src/FileStorageDriver.d.ts.map +1 -1
- package/index.ts +1 -1
- package/package.json +4 -4
- package/src/FileStorageDriver.ts +0 -1
package/.eslintrc.js
CHANGED
|
@@ -11,7 +11,21 @@ module.exports = {
|
|
|
11
11
|
'eol-last': ['warn', 'always'],
|
|
12
12
|
'keyword-spacing': ['warn', { before: true }],
|
|
13
13
|
'no-undef': 'off',
|
|
14
|
-
|
|
14
|
+
// A caught error is named and used, or not bound at all: `catch (MissingFieldError)` binds EVERY
|
|
15
|
+
// error under that name and filters nothing — the shape the two rules below refuse. A callback's
|
|
16
|
+
// unused parameter is its signature (args: none).
|
|
17
|
+
'@typescript-eslint/no-unused-vars': [
|
|
18
|
+
'error',
|
|
19
|
+
{ vars: 'all', args: 'none', caughtErrors: 'all', ignoreRestSiblings: true },
|
|
20
|
+
],
|
|
21
|
+
'no-restricted-syntax': [
|
|
22
|
+
'error',
|
|
23
|
+
{
|
|
24
|
+
selector: 'CatchClause > Identifier[name=/^[A-Z]/]',
|
|
25
|
+
message:
|
|
26
|
+
'A catch binding named like a class is not a type filter: it binds every error. Name the error (catch (error)) and narrow it with instanceof.',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
15
29
|
'@typescript-eslint/no-var-requires': 'off',
|
|
16
30
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
17
31
|
'@typescript-eslint/prefer-as-const': 'off',
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.10.13](https://github.com/proteinjs/db/compare/@proteinjs/db-file@1.10.12...@proteinjs/db-file@1.10.13) (2026-10-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @proteinjs/db-file
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.10.12](https://github.com/proteinjs/db/compare/@proteinjs/db-file@1.10.11...@proteinjs/db-file@1.10.12) (2026-10-16)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @proteinjs/db-file
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.10.11](https://github.com/proteinjs/db/compare/@proteinjs/db-file@1.10.10...@proteinjs/db-file@1.10.11) (2026-10-16)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @proteinjs/db-file
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,CAAC;AAEhB,cAAc,mBAAmB,CAAC;AAElC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAE3C,cAAc,mCAAmC,CAAC;AAElD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AAEjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
require("moment");
|
|
17
18
|
__exportStar(require("./src/FileStorage"), exports);
|
|
18
19
|
__exportStar(require("./src/tables/tables"), exports);
|
|
19
20
|
__exportStar(require("./src/tables/FileTable"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kBAAgB;AAEhB,oDAAkC;AAElC,sDAAoC;AACpC,yDAAuC;AACvC,6DAA2C;AAE3C,oEAAkD;AAElD,4DAA0C;AAC1C,mEAAiD;AAEjD,iEAA+C;AAC/C,0DAAwC;AACxC,yDAAuC;AACvC,0DAAwC;AACxC,yDAAuC;AACvC,4DAA0C;AAC1C,gEAA8C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileStorageDriver.d.ts","sourceRoot":"","sources":["../../src/FileStorageDriver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"FileStorageDriver.d.ts","sourceRoot":"","sources":["../../src/FileStorageDriver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7C,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D,UAAU,CAAC,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,YAAY,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7E;;;;;;OAMG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3C"}
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proteinjs/db-file",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.13",
|
|
4
4
|
"description": "File storage in the db",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"watch": "reflection-watch"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@proteinjs/db": "^1.
|
|
25
|
+
"@proteinjs/db": "^1.55.0",
|
|
26
26
|
"@proteinjs/logger": "^1.0.21",
|
|
27
27
|
"@proteinjs/reflection": "^1.2.0",
|
|
28
28
|
"@proteinjs/server-api": "^3.0.11",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"moment": "2.29.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@proteinjs/db-driver-spanner": "^1.35.
|
|
34
|
+
"@proteinjs/db-driver-spanner": "^1.35.4",
|
|
35
35
|
"@proteinjs/reflection-build": "^2.0.1",
|
|
36
36
|
"@types/jest": "29.5.5",
|
|
37
37
|
"@types/node": "14.0.27",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
},
|
|
47
47
|
"main": "./dist/generated/index.js",
|
|
48
48
|
"types": "./dist/generated/index.d.ts",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "e2cb123d846e60e8cddccbca06b5076a009817ed"
|
|
50
50
|
}
|