javascript-obfuscator 5.4.6 → 5.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "javascript-obfuscator",
3
- "version": "5.4.6",
3
+ "version": "5.4.7",
4
4
  "description": "JavaScript obfuscator",
5
5
  "keywords": [
6
6
  "obfuscator",
@@ -100,6 +100,9 @@
100
100
  "webpack-cli": "6.0.1",
101
101
  "webpack-node-externals": "3.0.0"
102
102
  },
103
+ "resolutions": {
104
+ "multimatch/minimatch/brace-expansion": "^1.1.12"
105
+ },
103
106
  "repository": {
104
107
  "type": "git",
105
108
  "url": "git+https://github.com/javascript-obfuscator/javascript-obfuscator.git"
@@ -7,6 +7,7 @@ import { IStringArrayStorageAnalyzer } from '../../interfaces/analyzers/string-a
7
7
  import { IStringArrayStorageItemData } from '../../interfaces/storages/string-array-transformers/IStringArrayStorageItem';
8
8
  export declare class StringArrayStorageAnalyzer implements IStringArrayStorageAnalyzer {
9
9
  private static readonly minimumLengthForStringArray;
10
+ private static readonly loneSurrogateRegExp;
10
11
  private readonly options;
11
12
  private readonly randomGenerator;
12
13
  private readonly stringArrayStorage;
@@ -17,4 +18,5 @@ export declare class StringArrayStorageAnalyzer implements IStringArrayStorageAn
17
18
  addItemDataForLiteralNode(literalNode: TStringLiteralNode): void;
18
19
  getItemDataForLiteralNode(literalNode: ESTree.Literal): IStringArrayStorageItemData | undefined;
19
20
  private shouldAddValueToStringArray;
21
+ private isProhibitedStringArrayValue;
20
22
  }
@@ -3,4 +3,5 @@ export declare class CLIUtils {
3
3
  static readonly allowedConfigFileExtensions: string[];
4
4
  static getUserConfig(configPath: string): TDictionary;
5
5
  static stringifyOptionAvailableValues(optionEnum: TDictionary): string;
6
+ private static getConfigErrorReason;
6
7
  }
@@ -6,4 +6,6 @@ export declare class ObfuscatedCodeFileUtils {
6
6
  getOutputCodePath(filePath: string): string;
7
7
  getOutputSourceMapPath(outputCodePath: string, sourceMapFileName?: string): string;
8
8
  writeFile(outputPath: string, data: string): void;
9
+ private getUniqueSourceMapFileName;
10
+ private isDirectoryInputPath;
9
11
  }