mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Fixed tests
This commit is contained in:
Vendored
+2
-2
@@ -29241,7 +29241,7 @@
|
||||
var NumberFormatter = (function () {
|
||||
function NumberFormatter() {
|
||||
}
|
||||
NumberFormatter.sanitizeTemplate = function (num, locale, style, _a) {
|
||||
NumberFormatter.format = function (num, locale, style, _a) {
|
||||
var _b = _a === void 0 ? {} : _a, minimumIntegerDigits = _b.minimumIntegerDigits, minimumFractionDigits = _b.minimumFractionDigits, maximumFractionDigits = _b.maximumFractionDigits, currency = _b.currency, _c = _b.currencyAsSymbol, currencyAsSymbol = _c === void 0 ? false : _c;
|
||||
var options = {
|
||||
minimumIntegerDigits: minimumIntegerDigits,
|
||||
@@ -29415,7 +29415,7 @@
|
||||
var DateFormatter = (function () {
|
||||
function DateFormatter() {
|
||||
}
|
||||
DateFormatter.sanitizeTemplate = function (date, locale, pattern) {
|
||||
DateFormatter.format = function (date, locale, pattern) {
|
||||
return dateFormatter(pattern, date, locale);
|
||||
};
|
||||
return DateFormatter;
|
||||
|
||||
@@ -20,8 +20,11 @@ describe('JavaScriptObfuscator runtime eval', function () {
|
||||
controlFlowFlatteningThreshold: 1,
|
||||
deadCodeInjection: true,
|
||||
deadCodeInjectionThreshold: 1,
|
||||
debugProtection: true,
|
||||
disableConsoleOutput: true,
|
||||
domainLock: ['obfuscator.io'],
|
||||
rotateStringArray: true,
|
||||
selfDefending: true,
|
||||
splitStrings: true,
|
||||
splitStringsChunkLength: 5,
|
||||
stringArray: true,
|
||||
|
||||
Reference in New Issue
Block a user