@dxos/react-async 2.29.2-dev.f6ed60b8 → 2.30.1-dev.321df10e

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -12,7 +12,7 @@ Add the following to `package.json`.
12
12
  }
13
13
  ```
14
14
 
15
- The `react-dom/test-utils` requires the `raf` (React animation frame) polyfill to run headless.
15
+ The `react-dom/test-utils` requires the `raf` (RequestAnimationFrame) polyfill to run headless.
16
16
 
17
17
  ```ts
18
18
  import 'raf/polyfill';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-async",
3
- "version": "2.29.2-dev.f6ed60b8",
3
+ "version": "2.30.1-dev.321df10e",
4
4
  "description": "Async utils",
5
5
  "license": "MIT",
6
6
  "author": "DXOS.org",
@@ -16,13 +16,14 @@
16
16
  "devDependencies": {
17
17
  "@dxos/esbuild-plugins": "~2.28.7",
18
18
  "@dxos/eslint-plugin": "~1.0.27",
19
- "@dxos/protocols-toolchain": "2.29.1",
19
+ "@dxos/protocols-toolchain": "2.30.0",
20
20
  "@types/mocha": "~8.2.2",
21
21
  "@types/node": "^14.0.9",
22
22
  "@types/react": "^17.0.24",
23
23
  "@types/react-dom": "^17.0.9",
24
24
  "eslint": "^7.12.1",
25
25
  "expect": "~27.0.2",
26
+ "raf": "^3.4.1",
26
27
  "react": "^17.0.2",
27
28
  "react-dom": "^17.0.2",
28
29
  "typescript": "^4.5.2",
@@ -48,5 +49,5 @@
48
49
  "lint": "toolchain lint",
49
50
  "test": "toolchain test"
50
51
  },
51
- "readme": "## React Async\n\n### Configuration\n\nAdd the following to `package.json`.\n\n```json\n \"toolchain\": {\n \"forceCloseTests\": true,\n \"jsdom\": true,\n \"testingFramework\": \"mocha\"\n }\n```\n\nThe `react-dom/test-utils` requires the `raf` (React animation frame) polyfill to run headless.\n\n```ts\nimport 'raf/polyfill';\nimport { act } from 'react-dom/test-utils';\n```\n\n### Next\n\nEvaluate the following:\n\n- https://www.npmjs.com/package/react-async-hook (popular)\n- https://www.npmjs.com/package/use-enhanced-state\n- https://www.npmjs.com/package/react-hooks-lib\n"
52
+ "readme": "## React Async\n\n### Configuration\n\nAdd the following to `package.json`.\n\n```json\n \"toolchain\": {\n \"forceCloseTests\": true,\n \"jsdom\": true,\n \"testingFramework\": \"mocha\"\n }\n```\n\nThe `react-dom/test-utils` requires the `raf` (RequestAnimationFrame) polyfill to run headless.\n\n```ts\nimport 'raf/polyfill';\nimport { act } from 'react-dom/test-utils';\n```\n\n### Next\n\nEvaluate the following:\n\n- https://www.npmjs.com/package/react-async-hook (popular)\n- https://www.npmjs.com/package/use-enhanced-state\n- https://www.npmjs.com/package/react-hooks-lib\n"
52
53
  }