include node_modules so release .zip is deployable

This commit is contained in:
2023-11-24 17:44:25 -05:00
parent 6c86cfe5d2
commit 8b11c41267
8963 changed files with 874175 additions and 1 deletions
+38
View File
@@ -0,0 +1,38 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.get_uid = void 0;
//================================================================
/**
* @packageDocumentation
* @module std
*/
//================================================================
var Global_1 = require("../internal/Global");
/**
* Get unique identifier.
*
* @param obj Target object.
* @return The identifier number.
*/
function get_uid(obj) {
// NO UID EXISTS, THEN ISSUE ONE.
if (obj instanceof Object) {
if (obj.hasOwnProperty("__get_m_iUID") === false) {
var uid_1 = ++(0, Global_1._Get_root)().__s_iUID;
Object.defineProperty(obj, "__get_m_iUID", {
value: function () {
return uid_1;
},
});
}
// RETURNS
return obj.__get_m_iUID();
}
else if (obj === undefined)
return -1;
// is null
else
return 0;
}
exports.get_uid = get_uid;
//# sourceMappingURL=uid.js.map