Skip to content

RN 0.55.4 require issue #6

Open
@sytler

Description

@sytler

Hi, Im getting
calls to require expect exactly 1 string literal argument, but this was found: require(_0xbf50('0x4')).
anybody know what could be the issue there?

transformer used:

module.exports = obfuscatingTransformer({
  upstreamTransformer: typescriptTransformer,
  obfuscatorOptions: {
    compact: true,
    controlFlowFlattening: false,
    controlFlowFlatteningThreshold: 0.75,
    deadCodeInjection: true,
    deadCodeInjectionThreshold: 0.4,
    debugProtection: true,
    debugProtectionInterval: false,
    disableConsoleOutput: true,
    identifierNamesGenerator: "hexadecimal",
    log: false,
    renameGlobals: false,
    reservedNames: ['import', 'require', 'class declaration', 'export'],
    rotateStringArray: false,
    seed: 0,
    selfDefending: false,
    sourceMap: false,
    sourceMapMode: "separate",
    stringArray: false,
    stringArrayEncoding: false,
    // stringArrayThreshold: 1,
    target: "node",
    unicodeEscapeSequence: false,
  }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions