@zip.js/zip.js
    Preparing search index...

    Variable ERR_INVALID_PASSWORD_TYPEConst

    ERR_INVALID_PASSWORD_TYPE: string

    Invalid password error (thrown when the password option is not a string, or the rawPassword option is not a Uint8Array)

    A value of another type would silently produce an unencrypted archive, and a rawPassword passed as a string would produce an archive that cannot be opened with the equivalent ZipWriterConstructorOptions#password. The reader applies the same check, where a value of another type used to fail with the unrelated ERR_ENCRYPTED or ERR_INVALID_PASSWORD.