mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Try importing buffer index
This commit is contained in:
parent
24de41b513
commit
45277f8124
3 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ import { isString, isNonEmptyString } from '~/helpers/check-types.js'
|
||||||
import { parsePlistBuffer } from '~/helpers/scanner/parsers/plist.js'
|
import { parsePlistBuffer } from '~/helpers/scanner/parsers/plist.js'
|
||||||
// import { extractMachoMeta } from '~/helpers/scanner/parsers/macho.js'
|
// import { extractMachoMeta } from '~/helpers/scanner/parsers/macho.js'
|
||||||
|
|
||||||
import { Buffer } from 'buffer/'
|
import { Buffer } from 'buffer/index.js'
|
||||||
|
|
||||||
// For some reason inline 'import()' works better than 'import from'
|
// For some reason inline 'import()' works better than 'import from'
|
||||||
// https://gildas-lormeau.github.io/zip.js/
|
// https://gildas-lormeau.github.io/zip.js/
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { Buffer } from 'buffer/'
|
import { Buffer } from 'buffer/index.js'
|
||||||
|
|
||||||
import { Parser as MachoNodeParser } from './macho-node/parser.js'
|
import { Parser as MachoNodeParser } from './macho-node/parser.js'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// Adpapted for browser+node from https://github.com/joeferner/node-bplist-parser/blob/master/bplistParser.js
|
// Adpapted for browser+node from https://github.com/joeferner/node-bplist-parser/blob/master/bplistParser.js
|
||||||
import plainTextPlist from 'plist'
|
import plainTextPlist from 'plist'
|
||||||
import { Buffer } from 'buffer/'
|
import { Buffer } from 'buffer/index.js'
|
||||||
|
|
||||||
|
|
||||||
// const fs = require('fs');
|
// const fs = require('fs');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue