forked from olcxjas-softworks/LarpixClient
fix gitignore again
This commit is contained in:
parent
ce5a1e330b
commit
5da5c2afe2
3329 changed files with 364540 additions and 3 deletions
12
electron/node_modules/got/dist/source/utils/deep-freeze.js
generated
vendored
Normal file
12
electron/node_modules/got/dist/source/utils/deep-freeze.js
generated
vendored
Normal file
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue