@szydlovski/bplist-parser
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@szydlovski/bplist-parser", | ||
"description": "binary plist parser", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "build/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -14,5 +14,5 @@ # bplist-parser | ||
(async () => { | ||
const bplistResponse = await fetch('./Profile.bplist'); | ||
const bplistData = await bplistResponse.arrayBuffer(); | ||
const properties = parseBplist(bplistData); | ||
const response = await fetch('./Profile.bplist'); | ||
const arrayBuffer = await response.arrayBuffer(); | ||
const properties = parseBplist(arrayBuffer); | ||
})(); | ||
@@ -24,3 +24,4 @@ | ||
const buffer = await fs.readFile('./Profile.bplist'); | ||
const bplistData = buffer.buffer.slice(buffer.byteOffset, buffer.byteOffset + buffer.byteLength); | ||
const arrayBuffer = buffer.buffer.slice(buffer.byteOffset, buffer.byteOffset + buffer.byteLength); | ||
const properties = parseBplist(arrayBuffer); | ||
})(); | ||
@@ -27,0 +28,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61
35335
25