"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_runtime = require('../_virtual/_rolldown/runtime.js');
let src_external__yarnpkg_extensions = require("../external/@yarnpkg/extensions");
src_external__yarnpkg_extensions = require_runtime.__toESM(src_external__yarnpkg_extensions);

//#region src/pkg-ext/data.ts
/**
* @file Package extensions for compatibility adjustments. Package extensions
*   allow modifying package.json fields of dependencies to fix compatibility
*   issues, missing peer dependencies, etc.
*/
const { freeze: ObjectFreeze } = Object;
const packageExtensions = ObjectFreeze([
	...src_external__yarnpkg_extensions.packageExtensions,
	["@yarnpkg/extensions@>=1.1.0", { peerDependencies: void 0 }],
	["abab@>=2.0.0", { devDependencies: { webpack: "^3.12.0" } }],
	["is-generator-function@>=1.0.7", { scripts: { "test:uglified": "" } }]
].sort((a_, b_) => {
	const aIndex = a_[0].lastIndexOf("@");
	const bIndex = b_[0].lastIndexOf("@");
	const a = aIndex === -1 ? a_[0] : a_[0].slice(0, aIndex);
	const b = bIndex === -1 ? b_[0] : b_[0].slice(0, bIndex);
	if (a < b) return -1;
	if (a > b) return 1;
	return 0;
}));

//#endregion
exports.packageExtensions = packageExtensions;