summaryrefslogtreecommitdiff
path: root/node_modules/magic-bytes.js/dist/create-snapshot.js
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-09-02 19:12:47 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-09-02 19:12:47 -0400
commite4450c8417624b71d779cb4f41692538f9165e10 (patch)
treeb70826542223ecdf8a7a259f61b0a1abb8a217d8 /node_modules/magic-bytes.js/dist/create-snapshot.js
downloadsowbot3-e4450c8417624b71d779cb4f41692538f9165e10.tar.gz
sowbot3-e4450c8417624b71d779cb4f41692538f9165e10.tar.bz2
sowbot3-e4450c8417624b71d779cb4f41692538f9165e10.zip
first commit
Diffstat (limited to 'node_modules/magic-bytes.js/dist/create-snapshot.js')
-rw-r--r--node_modules/magic-bytes.js/dist/create-snapshot.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/magic-bytes.js/dist/create-snapshot.js b/node_modules/magic-bytes.js/dist/create-snapshot.js
new file mode 100644
index 0000000..8060000
--- /dev/null
+++ b/node_modules/magic-bytes.js/dist/create-snapshot.js
@@ -0,0 +1,11 @@
+"use strict";
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const pattern_tree_1 = __importDefault(require("./model/pattern-tree"));
+require("fs")
+ .createWriteStream(__dirname + "/pattern-tree.snapshot.ts")
+ .write("// THIS FILE IS AUTOGENERATED. DO NOT EDIT\nexport default " +
+ JSON.stringify(pattern_tree_1.default()) +
+ "\n");