@teambit/html.modules.fetch-html-from-url 0.0.102 → 0.0.103

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.
@@ -13,8 +13,8 @@ exports.fetchHtmlFromUrl = void 0;
13
13
  function fetchHtmlFromUrl(url) {
14
14
  return __awaiter(this, void 0, void 0, function* () {
15
15
  return fetch(url)
16
- .then(response => response.text())
17
- .then(data => data);
16
+ .then((response) => response.text())
17
+ .then((data) => data);
18
18
  });
19
19
  }
20
20
  exports.fetchHtmlFromUrl = fetchHtmlFromUrl;
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-html-from-url.js","sourceRoot":"","sources":["../fetch-html-from-url.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,SAAsB,gBAAgB,CAAC,GAAW;;QAC9C,OAAO,KAAK,CAAC,GAAG,CAAC;aACZ,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;aACjC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;CAAA;AAJD,4CAIC"}
1
+ {"version":3,"file":"fetch-html-from-url.js","sourceRoot":"","sources":["../fetch-html-from-url.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,SAAsB,gBAAgB,CAAC,GAAW;;QAChD,OAAO,KAAK,CAAC,GAAG,CAAC;aACd,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;aACnC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CAAA;AAJD,4CAIC"}
@@ -1,6 +1,5 @@
1
-
2
1
  export async function fetchHtmlFromUrl(url: string) {
3
- return fetch(url)
4
- .then(response => response.text())
5
- .then(data => data)
6
- }
2
+ return fetch(url)
3
+ .then((response) => response.text())
4
+ .then((data) => data);
5
+ }
package/index.ts CHANGED
@@ -1 +1 @@
1
- export { fetchHtmlFromUrl } from './fetch-html-from-url';
1
+ export { fetchHtmlFromUrl } from './fetch-html-from-url';
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/html.modules.fetch-html-from-url",
3
- "version": "0.0.102",
3
+ "version": "0.0.103",
4
4
  "homepage": "https://bit.dev/teambit/html/modules/fetch-html-from-url",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.html",
8
8
  "name": "modules/fetch-html-from-url",
9
- "version": "0.0.102"
9
+ "version": "0.0.103"
10
10
  },
11
11
  "dependencies": {},
12
12
  "devDependencies": {
@@ -3,3 +3,5 @@
3
3
 
4
4
  export const compositions = [];
5
5
  export const overview = [];
6
+
7
+ export const compositions_metadata = {"compositions":[]};