@jupyter/docprovider 2.0.1 → 2.0.3

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 +6 -1
  2. package/package.json +1 -1
package/lib/ydrive.js CHANGED
@@ -112,7 +112,12 @@ export class YDrive extends Drive {
112
112
  const provider = this._providers.get(key);
113
113
  if (provider) {
114
114
  // Save is done from the backend
115
- return this.get(localPath, { ...options, content: false });
115
+ const fetchOptions = {
116
+ type: options.type,
117
+ format: options.format,
118
+ content: false
119
+ };
120
+ return this.get(localPath, fetchOptions);
116
121
  }
117
122
  }
118
123
  return super.save(localPath, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter/docprovider",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "JupyterLab - Document Provider",
5
5
  "homepage": "https://github.com/jupyterlab/jupyter-collaboration",
6
6
  "bugs": {