@lokalise/node-core 6.3.2 → 6.4.1
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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/src/utils/objectUtils.js.map +1 -1
- package/package.json +17 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { sendPut, sendPutBinary, sendDelete, sendPatch, sendGet, sendPost, httpClient, buildClient, } from './src/http/httpClient';
|
|
1
|
+
export { sendPut, sendPutBinary, sendDelete, sendPatch, sendGet, sendPost, sendPostBinary, httpClient, buildClient, } from './src/http/httpClient';
|
|
2
2
|
export type { RequestOptions, Response, HttpRequestContext, ResponseSchema, } from './src/http/httpClient';
|
|
3
3
|
export { PublicNonRecoverableError } from './src/errors/PublicNonRecoverableError';
|
|
4
4
|
export type { PublicNonRecoverableErrorParams } from './src/errors/PublicNonRecoverableError';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitAndRetry = exports.resolveGlobalErrorLogObject = exports.globalLogger = exports.executeSettleAllAndHandleGlobalErrors = exports.executeAndHandleGlobalErrors = exports.executeAsyncAndHandleGlobalErrors = exports.resolveLoggerConfiguration = exports.hasMessage = exports.isPublicNonRecoverableError = exports.isObject = exports.isStandardizedError = exports.isInternalError = exports.isEmptyObject = exports.copyWithoutUndefined = exports.pickWithoutUndefined = exports.pick = exports.groupBy = exports.callChunked = exports.chunk = exports.createRangeValidator = exports.ensureClosingSlashTransformer = exports.ConfigScope = exports.ResponseStatusError = exports.InternalError = exports.PublicNonRecoverableError = exports.buildClient = exports.httpClient = exports.sendPost = exports.sendGet = exports.sendPatch = exports.sendDelete = exports.sendPutBinary = exports.sendPut = void 0;
|
|
3
|
+
exports.waitAndRetry = exports.resolveGlobalErrorLogObject = exports.globalLogger = exports.executeSettleAllAndHandleGlobalErrors = exports.executeAndHandleGlobalErrors = exports.executeAsyncAndHandleGlobalErrors = exports.resolveLoggerConfiguration = exports.hasMessage = exports.isPublicNonRecoverableError = exports.isObject = exports.isStandardizedError = exports.isInternalError = exports.isEmptyObject = exports.copyWithoutUndefined = exports.pickWithoutUndefined = exports.pick = exports.groupBy = exports.callChunked = exports.chunk = exports.createRangeValidator = exports.ensureClosingSlashTransformer = exports.ConfigScope = exports.ResponseStatusError = exports.InternalError = exports.PublicNonRecoverableError = exports.buildClient = exports.httpClient = exports.sendPostBinary = exports.sendPost = exports.sendGet = exports.sendPatch = exports.sendDelete = exports.sendPutBinary = exports.sendPut = void 0;
|
|
4
4
|
var httpClient_1 = require("./src/http/httpClient");
|
|
5
5
|
Object.defineProperty(exports, "sendPut", { enumerable: true, get: function () { return httpClient_1.sendPut; } });
|
|
6
6
|
Object.defineProperty(exports, "sendPutBinary", { enumerable: true, get: function () { return httpClient_1.sendPutBinary; } });
|
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "sendDelete", { enumerable: true, get: function (
|
|
|
8
8
|
Object.defineProperty(exports, "sendPatch", { enumerable: true, get: function () { return httpClient_1.sendPatch; } });
|
|
9
9
|
Object.defineProperty(exports, "sendGet", { enumerable: true, get: function () { return httpClient_1.sendGet; } });
|
|
10
10
|
Object.defineProperty(exports, "sendPost", { enumerable: true, get: function () { return httpClient_1.sendPost; } });
|
|
11
|
+
Object.defineProperty(exports, "sendPostBinary", { enumerable: true, get: function () { return httpClient_1.sendPostBinary; } });
|
|
11
12
|
Object.defineProperty(exports, "httpClient", { enumerable: true, get: function () { return httpClient_1.httpClient; } });
|
|
12
13
|
Object.defineProperty(exports, "buildClient", { enumerable: true, get: function () { return httpClient_1.buildClient; } });
|
|
13
14
|
var PublicNonRecoverableError_1 = require("./src/errors/PublicNonRecoverableError");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,oDAU8B;AAT5B,qGAAA,OAAO,OAAA;AACP,2GAAA,aAAa,OAAA;AACb,wGAAA,UAAU,OAAA;AACV,uGAAA,SAAS,OAAA;AACT,qGAAA,OAAO,OAAA;AACP,sGAAA,QAAQ,OAAA;AACR,4GAAA,cAAc,OAAA;AACd,wGAAA,UAAU,OAAA;AACV,yGAAA,WAAW,OAAA;AASb,oFAAkF;AAAzE,sIAAA,yBAAyB,OAAA;AAGlC,4DAA0D;AAAjD,8GAAA,aAAa,OAAA;AACtB,wEAAsE;AAA7D,0HAAA,mBAAmB,OAAA;AAG5B,wDAAsD;AAA7C,0GAAA,WAAW,OAAA;AACpB,sEAA+E;AAAtE,mIAAA,6BAA6B,OAAA;AACtC,kEAAoE;AAA3D,wHAAA,oBAAoB,OAAA;AAU7B,qDAA2D;AAAlD,mGAAA,KAAK,OAAA;AAAE,yGAAA,WAAW,OAAA;AAC3B,uDAMgC;AAL9B,sGAAA,OAAO,OAAA;AACP,mGAAA,IAAI,OAAA;AACJ,mHAAA,oBAAoB,OAAA;AACpB,mHAAA,oBAAoB,OAAA;AACpB,4GAAA,aAAa,OAAA;AAGf,mDAM8B;AAL5B,4GAAA,eAAe,OAAA;AACf,gHAAA,mBAAmB,OAAA;AACnB,qGAAA,QAAQ,OAAA;AACR,wHAAA,2BAA2B,OAAA;AAC3B,uGAAA,UAAU,OAAA;AAIZ,2EAA+E;AAAtE,kIAAA,0BAA0B,OAAA;AAInC,sEAMwC;AALtC,uIAAA,iCAAiC,OAAA;AACjC,kIAAA,4BAA4B,OAAA;AAC5B,2IAAA,qCAAqC,OAAA;AACrC,kHAAA,YAAY,OAAA;AACZ,iIAAA,2BAA2B,OAAA;AAK7B,mDAAoD;AAA3C,yGAAA,YAAY,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectUtils.js","sourceRoot":"","sources":["../../../src/utils/objectUtils.ts"],"names":[],"mappings":";;;AAAA,SAAgB,oBAAoB,CAQlC,aAAgB;IAChB,OAAO,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"objectUtils.js","sourceRoot":"","sources":["../../../src/utils/objectUtils.ts"],"names":[],"mappings":";;;AAAA,SAAgB,oBAAoB,CAQlC,aAAgB;IAChB,OAAO,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,CACtC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QACX,aAAa;QACb,IAAI,aAAa,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE;YACpC,aAAa;YACb,GAAG,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,GAAG,CAAC,CAAA;SAC9B;QACD,OAAO,GAAG,CAAA;IACZ,CAAC,EACD,EAA6B,CACV,CAAA;AACvB,CAAC;AApBD,oDAoBC;AAED,SAAgB,IAAI,CAClB,MAAS,EACT,SAAuB;IAEvB,MAAM,MAAM,GAAG,EAAO,CAAA;IACtB,IAAI,GAAG,GAAG,CAAC,CAAA;IACX,OAAO,GAAG,GAAG,SAAS,CAAC,MAAM,EAAE;QAC7B,aAAa;QACb,IAAI,SAAS,CAAC,GAAG,CAAC,IAAI,MAAM,EAAE;YAC5B,aAAa;YACb,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;SAChD;QACD,GAAG,IAAI,CAAC,CAAA;KACT;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AAfD,oBAeC;AAED,SAAgB,oBAAoB,CAClC,MAAS,EACT,SAAuB;IAEvB,MAAM,MAAM,GAAG,EAAO,CAAA;IACtB,IAAI,GAAG,GAAG,CAAC,CAAA;IACX,OAAO,GAAG,GAAG,SAAS,C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+1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/node-core",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.1",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Lokalise",
|
|
6
6
|
"url": "https://lokalise.com/"
|
|
@@ -35,24 +35,24 @@
|
|
|
35
35
|
"prepublishOnly": "npm run build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"pino": "^8.15.
|
|
39
|
-
"undici": "^5.
|
|
40
|
-
"undici-retry": "^2.0
|
|
38
|
+
"pino": "^8.15.6",
|
|
39
|
+
"undici": "^5.25.4",
|
|
40
|
+
"undici-retry": "^2.1.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/node": "^20.
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
45
|
-
"@typescript-eslint/parser": "^6.
|
|
46
|
-
"@vitest/coverage-v8": "^0.34.
|
|
43
|
+
"@types/node": "^20.8.2",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
45
|
+
"@typescript-eslint/parser": "^6.7.4",
|
|
46
|
+
"@vitest/coverage-v8": "^0.34.6",
|
|
47
47
|
"auto-changelog": "^2.4.0",
|
|
48
|
-
"eslint": "^8.
|
|
49
|
-
"eslint-config-prettier": "^
|
|
50
|
-
"eslint-plugin-import": "^2.
|
|
51
|
-
"eslint-plugin-prettier": "^
|
|
52
|
-
"eslint-plugin-vitest": "^0.2
|
|
53
|
-
"prettier": "^
|
|
54
|
-
"typescript": "^5.
|
|
55
|
-
"vitest": "^0.34.
|
|
56
|
-
"zod": "^3.
|
|
48
|
+
"eslint": "^8.50.0",
|
|
49
|
+
"eslint-config-prettier": "^9.0.0",
|
|
50
|
+
"eslint-plugin-import": "^2.28.1",
|
|
51
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
52
|
+
"eslint-plugin-vitest": "^0.3.2",
|
|
53
|
+
"prettier": "^3.0.3",
|
|
54
|
+
"typescript": "^5.2.2",
|
|
55
|
+
"vitest": "^0.34.6",
|
|
56
|
+
"zod": "^3.22.4"
|
|
57
57
|
}
|
|
58
58
|
}
|