@openmrs/esm-offline 3.3.2-pre.33 → 4.0.0-pre.0
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/.turbo/turbo-build.log +14 -14
- package/.turbo/turbo-lint.log +2 -0
- package/.turbo/turbo-test.log +24 -0
- package/.turbo/turbo-typescript.log +2 -0
- package/dist/openmrs-esm-offline.js +0 -0
- package/dist/openmrs-esm-offline.js.map +0 -0
- package/jest.config.js +4 -0
- package/package.json +10 -10
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
[32m@openmrs/esm-offline:build: [0mcache hit, replaying output [
|
|
1
|
+
[32m@openmrs/esm-offline:build: [0mcache hit, replaying output [2me298da5a38250435[0m
|
|
2
2
|
[32m@openmrs/esm-offline:build: [0m$ webpack --mode=production
|
|
3
|
-
[32m@openmrs/esm-offline:build: [0masset
|
|
4
|
-
[32m@openmrs/esm-offline:build: [0morphan modules 157 KiB
|
|
3
|
+
[32m@openmrs/esm-offline:build: [0masset openmrs-esm-offline.js 110 KiB [emitted] [minimized] (name: main) 1 related asset
|
|
4
|
+
[32m@openmrs/esm-offline:build: [0morphan modules 157 KiB [orphan] 24 modules
|
|
5
5
|
[32m@openmrs/esm-offline:build: [0mruntime modules 2.02 KiB 7 modules
|
|
6
|
-
[32m@openmrs/esm-offline:build: [0mbuilt modules 169 KiB
|
|
6
|
+
[32m@openmrs/esm-offline:build: [0mbuilt modules 169 KiB [built]
|
|
7
7
|
[32m@openmrs/esm-offline:build: [0m cacheable modules 169 KiB
|
|
8
|
-
[32m@openmrs/esm-offline:build: [0m modules by path
|
|
9
|
-
[32m@openmrs/esm-offline:build: [0m
|
|
10
|
-
[32m@openmrs/esm-offline:build: [0m
|
|
11
|
-
[32m@openmrs/esm-offline:build: [0m
|
|
12
|
-
[32m@openmrs/esm-offline:build: [0m
|
|
13
|
-
[32m@openmrs/esm-offline:build: [0m
|
|
14
|
-
[32m@openmrs/esm-offline:build: [0m modules by path
|
|
15
|
-
[32m@openmrs/esm-offline:build: [0m
|
|
16
|
-
[32m@openmrs/esm-offline:build: [0m
|
|
17
|
-
[32m@openmrs/esm-offline:build: [0mwebpack 5.70.0 compiled
|
|
8
|
+
[32m@openmrs/esm-offline:build: [0m modules by path ../../../node_modules/systemjs-webpack-interop/ 3.27 KiB
|
|
9
|
+
[32m@openmrs/esm-offline:build: [0m ../../../node_modules/systemjs-webpack-interop/auto-public-path/1.js 89 bytes [built] [code generated]
|
|
10
|
+
[32m@openmrs/esm-offline:build: [0m ../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js 846 bytes [built] [code generated]
|
|
11
|
+
[32m@openmrs/esm-offline:build: [0m ../../../node_modules/systemjs-webpack-interop/public-path.js 2.36 KiB [built] [code generated]
|
|
12
|
+
[32m@openmrs/esm-offline:build: [0m ./src/index.ts + 14 modules 141 KiB [built] [code generated]
|
|
13
|
+
[32m@openmrs/esm-offline:build: [0m ../../../node_modules/regenerator-runtime/runtime.js 24.3 KiB [built] [code generated]
|
|
14
|
+
[32m@openmrs/esm-offline:build: [0m modules by path external "@openmrs/ 84 bytes
|
|
15
|
+
[32m@openmrs/esm-offline:build: [0m external "@openmrs/esm-api" 42 bytes [built] [code generated]
|
|
16
|
+
[32m@openmrs/esm-offline:build: [0m external "@openmrs/esm-state" 42 bytes [built] [code generated]
|
|
17
|
+
[32m@openmrs/esm-offline:build: [0mwebpack 5.70.0 compiled successfully in 5157 ms
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[32m@openmrs/esm-offline:test: [0mcache hit, replaying output [2meafdeb8d1b32138c[0m
|
|
2
|
+
[32m@openmrs/esm-offline:test: [0m$ jest --config jest.config.js --passWithNoTests
|
|
3
|
+
[32m@openmrs/esm-offline:test: [0mPASS src/sync.test.ts
|
|
4
|
+
[32m@openmrs/esm-offline:test: [0m Sync Queue
|
|
5
|
+
[32m@openmrs/esm-offline:test: [0m ✓ enqueues sync item with expected attributes (107 ms)
|
|
6
|
+
[32m@openmrs/esm-offline:test: [0m ✓ allows querying for items of all types at once (29 ms)
|
|
7
|
+
[32m@openmrs/esm-offline:test: [0m Logged-in user specific functions
|
|
8
|
+
[32m@openmrs/esm-offline:test: [0m ✓ enqueue and return sync items of currently logged-in user (40 ms)
|
|
9
|
+
[32m@openmrs/esm-offline:test: [0m getSynchronizationItems
|
|
10
|
+
[32m@openmrs/esm-offline:test: [0m ✓ returns `content` of corresponding `getFullSynchronizationItems` call (5 ms)
|
|
11
|
+
[32m@openmrs/esm-offline:test: [0m getSynchronizationItemsFor
|
|
12
|
+
[32m@openmrs/esm-offline:test: [0m ✓ returns `content` of corresponding `getFullSynchronizationItemsFor` call (10 ms)
|
|
13
|
+
[32m@openmrs/esm-offline:test: [0m getSynchronizationItem
|
|
14
|
+
[32m@openmrs/esm-offline:test: [0m ✓ returns the specific sync item with given ID (35 ms)
|
|
15
|
+
[32m@openmrs/esm-offline:test: [0m ✓ returns undefined when no item with given ID exists (6 ms)
|
|
16
|
+
[32m@openmrs/esm-offline:test: [0m deleteSynchronizationItem
|
|
17
|
+
[32m@openmrs/esm-offline:test: [0m ✓ deletes sync item with given ID (18 ms)
|
|
18
|
+
[32m@openmrs/esm-offline:test: [0m ✓ does not throw when no item with given ID exists (2 ms)
|
|
19
|
+
[32m@openmrs/esm-offline:test: [0m
|
|
20
|
+
[32m@openmrs/esm-offline:test: [0mTest Suites: 1 passed, 1 total
|
|
21
|
+
[32m@openmrs/esm-offline:test: [0mTests: 9 passed, 9 total
|
|
22
|
+
[32m@openmrs/esm-offline:test: [0mSnapshots: 0 total
|
|
23
|
+
[32m@openmrs/esm-offline:test: [0mTime: 3.775 s
|
|
24
|
+
[32m@openmrs/esm-offline:test: [0mRan all test suites.
|
|
File without changes
|
|
File without changes
|
package/jest.config.js
CHANGED
|
@@ -4,5 +4,9 @@ module.exports = {
|
|
|
4
4
|
},
|
|
5
5
|
moduleNameMapper: {
|
|
6
6
|
"lodash-es": "lodash",
|
|
7
|
+
// See https://jestjs.io/docs/upgrading-to-jest28#packagejson-exports
|
|
8
|
+
// which links to https://github.com/microsoft/accessibility-insights-web/pull/5421#issuecomment-1109168149
|
|
9
|
+
"^dexie$": require.resolve("dexie"),
|
|
7
10
|
},
|
|
11
|
+
testEnvironment: "jsdom",
|
|
8
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-offline",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-pre.0",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Helper utilities for OpenMRS",
|
|
6
6
|
"browser": "dist/openmrs-esm-offline.js",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@openmrs/esm-api": "^
|
|
40
|
-
"@openmrs/esm-globals": "^
|
|
41
|
-
"@openmrs/esm-state": "^
|
|
42
|
-
"@openmrs/esm-styleguide": "^
|
|
39
|
+
"@openmrs/esm-api": "^4.0.0-pre.0",
|
|
40
|
+
"@openmrs/esm-globals": "^4.0.0-pre.0",
|
|
41
|
+
"@openmrs/esm-state": "^4.0.0-pre.0",
|
|
42
|
+
"@openmrs/esm-styleguide": "^4.0.0-pre.0",
|
|
43
43
|
"@types/uuid": "^8.3.0",
|
|
44
44
|
"rxjs": "^6.5.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@openmrs/esm-api": "
|
|
48
|
-
"@openmrs/esm-globals": "
|
|
49
|
-
"@openmrs/esm-state": "
|
|
50
|
-
"@openmrs/esm-styleguide": "
|
|
47
|
+
"@openmrs/esm-api": "4.x",
|
|
48
|
+
"@openmrs/esm-globals": "4.x",
|
|
49
|
+
"@openmrs/esm-state": "4.x",
|
|
50
|
+
"@openmrs/esm-styleguide": "4.x",
|
|
51
51
|
"rxjs": "6.x"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"uuid": "^8.3.2",
|
|
57
57
|
"workbox-window": "^6.1.5"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "254a7226212aac82df4434639b2584e24ac240e4"
|
|
60
60
|
}
|