@teambit/workspace 1.0.239 → 1.0.240

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.
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.239/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.239/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.240/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.240/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/dist/workspace.js CHANGED
@@ -18,13 +18,6 @@ function _pMapSeries() {
18
18
  };
19
19
  return data;
20
20
  }
21
- function _nodeFetch() {
22
- const data = _interopRequireDefault(require("node-fetch"));
23
- _nodeFetch = function () {
24
- return data;
25
- };
26
- return data;
27
- }
28
21
  function _graph() {
29
22
  const data = require("@teambit/graph.cleargraph");
30
23
  _graph = function () {
@@ -1696,7 +1689,7 @@ the following envs are used in this workspace: ${availableEnvs.join(', ')}`);
1696
1689
  const url = `https://node-registry.bit.cloud/${packageName}`;
1697
1690
  const token = await this.globalConfig.get(_constants().CFG_USER_TOKEN_KEY);
1698
1691
  const headers = token ? (0, _http().getAuthHeader)(token) : {};
1699
- const res = await (0, _nodeFetch().default)(url, {
1692
+ const res = await (0, _http().fetchWithAgent)(url, {
1700
1693
  headers
1701
1694
  });
1702
1695
  if (!res.ok) {