@jupyter/docprovider 3.0.0-beta.8 → 3.0.0-rc.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.
Files changed (2) hide show
  1. package/lib/ydrive.js +3 -1
  2. package/package.json +2 -2
package/lib/ydrive.js CHANGED
@@ -141,7 +141,9 @@ export class YDrive extends Drive {
141
141
  super.get(localPath, { ...options, content: false }),
142
142
  provider.ready
143
143
  ]);
144
- return model;
144
+ // The server doesn't return a model with a format when content is false,
145
+ // so set it back.
146
+ return { ...model, format: options.format };
145
147
  }
146
148
  }
147
149
  return super.get(localPath, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter/docprovider",
3
- "version": "3.0.0-beta.8",
3
+ "version": "3.0.0-rc.1",
4
4
  "description": "JupyterLab - Document Provider",
5
5
  "homepage": "https://github.com/jupyterlab/jupyter-collaboration",
6
6
  "bugs": {
@@ -41,7 +41,7 @@
41
41
  "watch": "tsc -b --watch"
42
42
  },
43
43
  "dependencies": {
44
- "@jupyter/collaborative-drive": "^3.0.0-beta.8",
44
+ "@jupyter/collaborative-drive": "^3.0.0-rc.1",
45
45
  "@jupyter/ydoc": "^2.0.0 || ^3.0.0-a3",
46
46
  "@jupyterlab/apputils": "^4.2.0",
47
47
  "@jupyterlab/cells": "^4.2.0",