Home
last modified time | relevance | path

Searched refs:stripBOM (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/npm/node_modules/pacote/lib/util/
Dread-json.js5 function stripBOM (content) { function
14 return JSON.parse(stripBOM(content))
/third_party/node/deps/npm/lib/utils/
Dparse-json.js4 return parseJsonWithErrors(stripBOM(content))
16 function stripBOM (content) { function
/third_party/node/deps/npm/node_modules/iconv-lite/lib/
Dbom-handling.js41 if (typeof this.options.stripBOM === 'function')
42 this.options.stripBOM();
Dindex.d.ts21 stripBOM?: boolean;
Dindex.js130 if (codec.bomAware && !(options && options.stripBOM === false))
/third_party/node/lib/internal/modules/cjs/
Dhelpers.js134 function stripBOM(content) { function
201 stripBOM, property
Dloader.js92 stripBOM,
1128 module.exports = JSONParse(stripBOM(content));
/third_party/node/deps/npm/node_modules/iconv-lite/
DREADME.md122 * Decoding: BOM is stripped by default, unless overridden by passing `stripBOM: false` in options
123 (f.ex. `iconv.decode(buf, enc, {stripBOM: false})`).
124 …A callback might also be given as a `stripBOM` parameter - it'll be called if BOM character was ac…
133 overridden with `defaultEncoding: 'utf-16be'` option. Strips BOM unless `stripBOM: false`.
/third_party/node/lib/internal/modules/esm/
Dtranslators.js32 stripBOM,
330 const exports = JSONParse(stripBOM(source));
/third_party/node/deps/npm/node_modules/libcipm/
Dindex.js416 function stripBOM (str) { function
423 .then(str => JSON.parse(stripBOM(str)))
/third_party/node/deps/npm/node_modules/read-package-json/
Dread-json.js56 function stripBOM (content) { function
102 data = safeJSON(stripBOM(d))
/third_party/node/tools/
Dlint-md.mjs12687 const parseText = stripBOM(txt);
12724 const stripBOM = txt => String(txt).replace(/^\uFEFF/, ''); function
12731 return JSON.parse(stripBOM(txt), reviver)