File tree Expand file tree Collapse file tree 4 files changed +40
-0
lines changed
Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "lockfileVersion" : 1 ,
3+ "workspaces" : {
4+ "" : {
5+ "devDependencies" : {
6+ "@types/node" : " ^24.7.0" ,
7+ },
8+ },
9+ },
10+ "packages" : {
11+ "@types/node" : [
" @types/[email protected] " ,
" " , {
"dependencies" : {
"undici-types" :
" ~7.14.0" } },
" sha512-IbKooQVqUBrlzWTi79E8Fw78l8k1RNtlDDNWsFZs7XonuQSJ8oNYfEeclhprUldXISRMLzBpILuKgPlIxm+/Yw==" ],
12+
13+ "undici-types" : [
" [email protected] " ,
" " , {},
" sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==" ],
14+ }
15+ }
Original file line number Diff line number Diff line change 1+ {
2+ "dependencies" : {},
3+ "devDependencies" : {
4+ "@types/node" : " ^24.7.0"
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ "target" : " ES2020" ,
4+ "module" : " ESNext" ,
5+ "moduleResolution" : " node" ,
6+ "esModuleInterop" : true ,
7+ "allowSyntheticDefaultImports" : true ,
8+ "strict" : true ,
9+ "skipLibCheck" : true ,
10+ "forceConsistentCasingInFileNames" : true ,
11+ "types" : [" node" ]
12+ },
13+ "include" : [" utils/**/*.ts" ]
14+ }
Original file line number Diff line number Diff line change 77import * as crypto from 'crypto' ;
88import * as path from 'path' ;
99import * as fs from 'fs' ;
10+ import { fileURLToPath } from 'url' ;
11+ import { dirname } from 'path' ;
12+
13+ const __filename = fileURLToPath ( import . meta. url ) ;
14+ const __dirname = dirname ( __filename ) ;
1015
1116const ENCRYPTED_FILE : string = path . resolve (
1217 __dirname ,
You can’t perform that action at this time.
0 commit comments