Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/jsc/modules/node-fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

var callBind = __webpack_require__(870);

var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));

Check failure on line 23 in src/jsc/modules/node-fetch.js

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'MIT' license found in local file 'src/jsc/modules/node-fetch.js' (Match: Azure-Samples/communication-services-web-chat-hero/1.17.0, 8584 lines, url: https://github.com/Azure-Samples/communication-services-web-chat-hero/archive/1.17.0.tar.gz, file: Server/dist/server.js)

module.exports = function callBoundIntrinsic(name, allowMissing) {
var intrinsic = GetIntrinsic(name, !!allowMissing);
Expand Down Expand Up @@ -1031,7 +1031,7 @@
//MADANA HACK
//var zlib = _interopDefault(require('zlib'));

// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js

Check failure on line 1034 in src/jsc/modules/node-fetch.js

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'MIT' license found in local file 'src/jsc/modules/node-fetch.js' (Match: David Frank/node-fetch/2.6.4, 1729 lines, url: https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.4.tgz, file: lib/index.es.js)

Check failure on line 1034 in src/jsc/modules/node-fetch.js

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'BSD-3-Clause' license found in local file 'src/jsc/modules/node-fetch.js' (Match: AmadeusITGroup/otter/8.0.24, 3955 lines, url: https://github.com/AmadeusITGroup/otter/archive/v8.0.24.tar.gz, file: tools/github-actions/get-npm-tag/packaged-action/index.js)

Check failure on line 1034 in src/jsc/modules/node-fetch.js

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'MIT' license found in local file 'src/jsc/modules/node-fetch.js' (Match: actions/setup-node/4.0.0, 7503 lines, url: https://github.com/actions/setup-node/archive/v4.0.0.tar.gz, file: dist/cache-save/index.js)

Check failure on line 1034 in src/jsc/modules/node-fetch.js

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'ISC' license found in local file 'src/jsc/modules/node-fetch.js' (Match: xrdev/gptshell/0.0.7, 7561 lines, url: https://registry.npmjs.org/gptshell/-/gptshell-0.0.7.tgz, file: dist/index.js)

// fix for "Readable" isn't a named export issue
const Readable = Stream.Readable;
Expand Down Expand Up @@ -1222,7 +1222,9 @@
} else if (body instanceof Stream) ; else {
// none of the above
// coerce to string then buffer
body = Buffer.from(String(body));
//body = Buffer.from(String(body));
//MADANA HACK FOR WEB ASSEMBLY
body = Buffer.from(body);
}
this[INTERNALS] = {
body,
Expand Down
Loading