diff --git a/playlet-lib/src/components/Services/Innertube/protos/params.proto.gen.bs b/playlet-lib/src/components/Services/Innertube/protos/params.proto.gen.bs index da169704..0e529e28 100644 --- a/playlet-lib/src/components/Services/Innertube/protos/params.proto.gen.bs +++ b/playlet-lib/src/components/Services/Innertube/protos/params.proto.gen.bs @@ -1,5 +1,5 @@ ' Auto-generated file - do not modify manually -' md5:252058d604a761c9fd33d800fce1b72b +' md5:1dc03998a561a4b1270454e10a4d7ead import "pkg:/source/Protobuf/BinaryReader.bs" import "pkg:/source/Protobuf/BinaryWriter.bs" diff --git a/playlet-web/tsconfig.node.json b/playlet-web/tsconfig.node.json index 65dbdb96..a8da0841 100644 --- a/playlet-web/tsconfig.node.json +++ b/playlet-web/tsconfig.node.json @@ -1,8 +1,10 @@ { "compilerOptions": { "composite": true, - "module": "ESNext", - "moduleResolution": "Node" + "module": "NodeNext", + "moduleResolution": "NodeNext" }, - "include": ["vite.config.ts"] -} + "include": [ + "vite.config.ts" + ] +} \ No newline at end of file diff --git a/tools/bs-plugins/proto-gen-plugin.ts b/tools/bs-plugins/proto-gen-plugin.ts index b5d820a5..dc9ccebd 100644 --- a/tools/bs-plugins/proto-gen-plugin.ts +++ b/tools/bs-plugins/proto-gen-plugin.ts @@ -260,7 +260,7 @@ end function`; bsfmtPath: bsfmtPath }); - return new Formatter(options); + return new Formatter(options ?? undefined); } getCurrentFileHash() { diff --git a/tools/bs-plugins/validation-plugin.ts b/tools/bs-plugins/validation-plugin.ts index fc97c41c..bfb25a3a 100644 --- a/tools/bs-plugins/validation-plugin.ts +++ b/tools/bs-plugins/validation-plugin.ts @@ -44,6 +44,9 @@ export class ValidationPlugin implements CompilerPlugin { this.validation.forEach((validation) => { const regex = validation.regexObject; + if (!regex) { + return; + } const fileContents = file.fileContents; let match: RegExpExecArray | null; diff --git a/tsconfig.json b/tsconfig.json index 97937eda..d567070d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,8 @@ { "compilerOptions": { "target": "ES6", - "moduleResolution": "Node", + "module": "NodeNext", + "moduleResolution": "NodeNext", "esModuleInterop": true } } \ No newline at end of file