Remove .gitignore and add dist and node_modules (LFS for .exe)
Made-with: Cursor
This commit is contained in:
1 parent
1fc4db96c8
commit
048ab8b980
5819 files changed
+1357436
-2
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const is_1 = require("@sindresorhus/is");
|
||||
function deepFreeze(object) {
|
||||
for (const value of Object.values(object)) {
|
||||
if (is_1.default.plainObject(value) || is_1.default.array(value)) {
|
||||
deepFreeze(value);
|
||||
}
|
||||
}
|
||||
return Object.freeze(object);
|
||||
}
|
||||
exports.default = deepFreeze;
|
||||
Reference in new issue
Block a user