@appsemble/utils 0.20.41 → 0.20.42

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 CHANGED
@@ -1,9 +1,9 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.41/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.42/config/assets/logo.svg) Appsemble Utilities
2
2
 
3
3
  > Internal utility functions used across multiple Appsemble projects.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/utils)](https://www.npmjs.com/package/@appsemble/utils)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.41/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.41)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.42/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.42)
7
7
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
8
8
 
9
9
  ## Installation
@@ -20,5 +20,5 @@ not guaranteed.
20
20
 
21
21
  ## License
22
22
 
23
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.41/LICENSE.md) ©
23
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.42/LICENSE.md) ©
24
24
  [Appsemble](https://appsemble.com)
package/index.d.ts CHANGED
@@ -6,7 +6,6 @@ export * from './blockUtils.js';
6
6
  export * from './compare.js';
7
7
  export * from './constants/index.js';
8
8
  export * from './has.js';
9
- export * from './intl-messageformat.js';
10
9
  export * from './miscellaneous.js';
11
10
  export * from './noop.js';
12
11
  export * from './normalize.js';
package/index.js CHANGED
@@ -6,7 +6,6 @@ export * from './blockUtils.js';
6
6
  export * from './compare.js';
7
7
  export * from './constants/index.js';
8
8
  export * from './has.js';
9
- export * from './intl-messageformat.js';
10
9
  export * from './miscellaneous.js';
11
10
  export * from './noop.js';
12
11
  export * from './normalize.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/utils",
3
- "version": "0.20.41",
3
+ "version": "0.20.42",
4
4
  "description": "Utility functions used in Appsemble internally",
5
5
  "keywords": [
6
6
  "app",
@@ -31,7 +31,7 @@
31
31
  "test": "NODE_OPTIONS=--experimental-vm-modules jest"
32
32
  },
33
33
  "dependencies": {
34
- "@appsemble/types": "0.20.41",
34
+ "@appsemble/types": "0.20.42",
35
35
  "axios": "^1.0.0",
36
36
  "cron-parser": "^4.0.0",
37
37
  "date-fns": "^2.0.0",
package/remap.test.js CHANGED
@@ -1,4 +1,4 @@
1
- import { IntlMessageFormat } from './intl-messageformat.js';
1
+ import { IntlMessageFormat } from 'intl-messageformat';
2
2
  import { remap } from './remap.js';
3
3
  function runTests(tests) {
4
4
  it.each(Object.entries(tests))('should %s', (name, { context, expected, history, input, mappers, messages, userInfo }) => {
@@ -1,3 +0,0 @@
1
- import intl from 'intl-messageformat';
2
- export type IntlMessageFormat = intl;
3
- export declare const IntlMessageFormat: typeof intl;
@@ -1,5 +0,0 @@
1
- import intl from 'intl-messageformat';
2
- // @ts-expect-error Remove if the intl-message format types are fixed upstream
3
- // eslint-disable-next-line @typescript-eslint/no-redeclare
4
- export const IntlMessageFormat = (intl.IntlMessageFormat || intl);
5
- //# sourceMappingURL=intl-messageformat.js.map