npm package diff

Package: @forge/cli-shared

Versions: 5.4.0-next.4 - 5.4.0-next.5

File: package/out/service/iframe-resizer-script-service.js

Index: package/out/service/iframe-resizer-script-service.js
===================================================================
--- package/out/service/iframe-resizer-script-service.js
+++ package/out/service/iframe-resizer-script-service.js
@@ -1,9 +1,8 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.IframeResizerScriptService = void 0;
-const tslib_1 = require("tslib");
-const cheerio_1 = tslib_1.__importDefault(require("cheerio"));
+const cheerio_1 = require("cheerio");
 const gateway_1 = require("../graphql/gateway");
 const IFRAME_RESIZER_CDN_PATH = 'iframeResizer.contentWindow.min.js';
 const GLOBAL_FORGE_INSTALL_ID = 'forge';
 class IframeResizerScriptService {
@@ -14,9 +13,9 @@
     createIframeResizerScriptTag() {
         return `<script async src="https://${GLOBAL_FORGE_INSTALL_ID}.cdn.${this.env}.atlassian-dev.net/${IFRAME_RESIZER_CDN_PATH}"></script>`;
     }
     injectIframeResizer(content, onError) {
-        const $ = cheerio_1.default.load(content);
+        const $ = (0, cheerio_1.load)(content, { xml: { xmlMode: false } });
         if ($('html').length === 0)
             onError();
         let head = $('head');
         if (head.length === 0) {