@appsemble/node-utils 0.29.2 → 0.29.4
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 +3 -3
- package/app.js +0 -1
- package/fs.d.ts +0 -2
- package/icon.d.ts +0 -1
- package/package.json +3 -3
- package/readAsset.d.ts +0 -2
- package/readFileOrString.d.ts +0 -1
- package/server/types.d.ts +0 -1
- package/testFixtures.d.ts +0 -2
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#  Appsemble Node Utilities
|
|
2
2
|
|
|
3
3
|
> NodeJS utilities used by Appsemble internally.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/node-utils)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.29.4)
|
|
7
7
|
[](https://prettier.io)
|
|
8
8
|
|
|
9
9
|
## Table of Contents
|
|
@@ -26,5 +26,5 @@ compatibility is not guaranteed.
|
|
|
26
26
|
|
|
27
27
|
## License
|
|
28
28
|
|
|
29
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.29.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.29.4/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
package/app.js
CHANGED
|
@@ -37,7 +37,6 @@ export async function getRemapperContext(app, language, userInfo, options, conte
|
|
|
37
37
|
const appVariables = await getAppVariables({ context, app });
|
|
38
38
|
const cache = objectCache((message) => new IntlMessageFormat(message, language, undefined, {
|
|
39
39
|
formatters: {
|
|
40
|
-
// @ts-expect-error intl-messageformat types are wrong
|
|
41
40
|
getNumberFormat,
|
|
42
41
|
getPluralRules,
|
|
43
42
|
getDateTimeFormat: memoize((locale, opts) => new Intl.DateTimeFormat(locale, { ...opts, timeZone: userInfo === null || userInfo === void 0 ? void 0 : userInfo.zoneinfo })),
|
package/fs.d.ts
CHANGED
package/icon.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/node-utils",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.4",
|
|
4
4
|
"description": "NodeJS utilities used by Appsemble internally.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"test": "vitest"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@appsemble/types": "0.29.
|
|
42
|
-
"@appsemble/utils": "0.29.
|
|
41
|
+
"@appsemble/types": "0.29.4",
|
|
42
|
+
"@appsemble/utils": "0.29.4",
|
|
43
43
|
"@formatjs/fast-memoize": "^2.0.0",
|
|
44
44
|
"@fortawesome/fontawesome-free": "^6.0.0",
|
|
45
45
|
"@koa/cors": "^4.0.0",
|
package/readAsset.d.ts
CHANGED
package/readFileOrString.d.ts
CHANGED
package/server/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
2
1
|
import { type App, type AppConfigEntry, type AppMember, type AppMessages, type Asset, type BlockDefinition, type BlockManifest, type ControllerDefinition, type EmailActionDefinition, type Resource, type ResourceDefinition, type TeamMember, type Theme as ThemeType, type UserInfo } from '@appsemble/types';
|
|
3
2
|
import { type IdentifiableBlock, type Permission } from '@appsemble/utils';
|
|
4
3
|
import { type RawAxiosRequestConfig } from 'axios';
|
package/testFixtures.d.ts
CHANGED