ftdsy-attr 2.1.5 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ftdsy-attr.cjs.js
CHANGED
|
@@ -74975,6 +74975,18 @@ var error = {
|
|
|
74975
74975
|
}
|
|
74976
74976
|
};
|
|
74977
74977
|
|
|
74978
|
+
// 全局对象 polyfill
|
|
74979
|
+
if (typeof globalThis === 'undefined') {
|
|
74980
|
+
window.globalThis = globalThis;
|
|
74981
|
+
}
|
|
74982
|
+
if (typeof globalThis === 'undefined') {
|
|
74983
|
+
globalThis.global = globalThis;
|
|
74984
|
+
}
|
|
74985
|
+
|
|
74986
|
+
// 确保 globalThis 在非浏览器环境有定义
|
|
74987
|
+
if (typeof globalThis === 'undefined') {
|
|
74988
|
+
globalThis.self = globalThis;
|
|
74989
|
+
}
|
|
74978
74990
|
var main = {
|
|
74979
74991
|
createCategoryProperties: createCategoryProperties,
|
|
74980
74992
|
getOriginProperty: getOriginProperty,
|