"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_primordials_map_set = require('../primordials/map-set.js');

//#region src/constants/licenses.ts
/**
* @file License identifier constants. Exports common SPDX license strings (MIT,
*   UNLICENSED) and a lazily-built set of copy-left SPDX identifiers used when
*   classifying package licenses.
*/
const MIT = "MIT";
const UNLICENCED = "UNLICENCED";
const UNLICENSED = "UNLICENSED";
let _copyLeftLicenses;
/**
* Get the set of SPDX identifiers considered copy-left (AGPL, GPL, EPL, EUPL,
* CC-BY-SA variants). The set is lazily built and cached on first call.
*
* @returns A `Set` of SPDX license identifier strings.
*/
function getCopyLeftLicenses() {
	if (_copyLeftLicenses === void 0) _copyLeftLicenses = new require_primordials_map_set.SetCtor([
		"AGPL-1.0",
		"AGPL-1.0-only",
		"AGPL-1.0-or-later",
		"AGPL-3.0",
		"AGPL-3.0-only",
		"AGPL-3.0-or-later",
		"CC-BY-SA-1.0",
		"CC-BY-SA-2.0",
		"CC-BY-SA-3.0",
		"CC-BY-SA-4.0",
		"EPL-1.0",
		"EPL-2.0",
		"EUPL-1.1",
		"EUPL-1.2",
		"GPL-1.0",
		"GPL-1.0-only",
		"GPL-1.0-or-later",
		"GPL-2.0",
		"GPL-2.0-only",
		"GPL-2.0-or-later",
		"GPL-3.0",
		"GPL-3.0-only",
		"GPL-3.0-or-later"
	]);
	return _copyLeftLicenses;
}

//#endregion
exports.MIT = MIT;
exports.UNLICENCED = UNLICENCED;
exports.UNLICENSED = UNLICENSED;
exports.getCopyLeftLicenses = getCopyLeftLicenses;