Files
sap-erp/node_modules/es-aggregate-error/shim.js
T
John 69b4e68baf
SAP-ERP Portal CI/CD / build (push) Failing after 5m20s
first commit
2026-09-23 17:31:02 +05:30

20 lines
417 B
JavaScript

'use strict';
var define = require('define-properties');
var globalThis = require('globalthis')();
var getPolyfill = require('./polyfill');
module.exports = function shimAggregateError() {
var polyfill = getPolyfill();
define(
globalThis,
{ AggregateError: polyfill },
{
AggregateError: function testAggregateError() {
return globalThis.AggregateError !== polyfill;
}
}
);
return polyfill;
};