quicktype-core 23.2.1 → 23.2.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.
@@ -54,7 +54,7 @@ const is_url_1 = __importDefault(require("is-url"));
54
54
  const Messages_1 = require("../../Messages");
55
55
  const Support_1 = require("../../support/Support");
56
56
  const get_stream_1 = require("./get-stream");
57
- const _fetch_ci_1 = require("./$fetch.ci");
57
+ const _fetch_1 = require("./$fetch");
58
58
  function parseHeaders(httpHeaders) {
59
59
  if (!Array.isArray(httpHeaders)) {
60
60
  return {};
@@ -76,7 +76,7 @@ function readableFromFileOrURL(fileOrURL, httpHeaders) {
76
76
  return __awaiter(this, void 0, void 0, function* () {
77
77
  try {
78
78
  if ((0, is_url_1.default)(fileOrURL)) {
79
- const response = yield (0, _fetch_ci_1.fetch)(fileOrURL, {
79
+ const response = yield (0, _fetch_1.fetch)(fileOrURL, {
80
80
  headers: parseHeaders(httpHeaders),
81
81
  });
82
82
  return (0, ts_necessities_1.defined)(response.body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.2.1",
3
+ "version": "23.2.3",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",