"use strict";
const SUPPORTS_NODE_DISABLE_WARNING_FLAG_1 = require("./SUPPORTS_NODE_DISABLE_WARNING_FLAG");
// IMPORTANT: Do not use destructuring here - use direct assignment instead.
// tsgo has a bug that incorrectly transpiles destructured exports, resulting in
// `exports.SomeName = void 0;` which causes runtime errors.
// See: https://github.com/SocketDev/socket-packageurl-js/issues/3
const ObjectFreeze = Object.freeze;
module.exports = ObjectFreeze(SUPPORTS_NODE_DISABLE_WARNING_FLAG_1
    ? [
        '--disable-warning',
        'DeprecationWarning',
        '--disable-warning',
        'ExperimentalWarning',
    ]
    : ['--no-warnings']);
