<commit_before>;(function () {
  return function (process, require, asarSource) {
    // Make asar.js accessible via "require".
    process.binding('natives').ELECTRON_ASAR = asarSource

    // Monkey-patch the fs module.
    require('ELECTRON_ASAR').wrapFsWithAsar(require('fs'))

    // Make graceful-fs work with asar.
    var source = process.binding('natives')
    source['original-fs'] = source.fs
    source['fs'] = `
var nativeModule = new process.NativeModule('original-fs')
nativeModule.cache()
nativeModule.compile()
var asar = require('ELECTRON_ASAR')
asar.wrapFsWithAsar(nativeModule.exports)
module.exports = nativeModule.exports`
  }
})()<commit_msg>asar: remove patch to support graceful-fs (#12562)<commit_after>;(function () {
  return function (process, require, asarSource) {
    const source = process.binding('natives')

    // Expose fs module without asar support.
    source['original-fs'] = source.fs

    // Make asar.js accessible via "require".
    source.ELECTRON_ASAR = asarSource

    // Monkey-patch the fs module.
    require('ELECTRON_ASAR').wrapFsWithAsar(require('fs'))
  }
})()
{'fraction_non_alphanumeric': 0.14080717488789238, 'fraction_numerical': 0.004484304932735426, 'mean_word_length': 4.1192660550458715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4297372', 'n_tokens_mistral': 363, 'n_tokens_neox': 345, 'n_words': 76}