Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bplist-creator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bplist-creator - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

18

bplistCreator.js

@@ -144,2 +144,5 @@ 'use strict';

break;
case 'date':
writeDate(entry);
break;
case 'data':

@@ -153,2 +156,8 @@ writeData(entry);

function writeDate(entry) {
writeByte(0x33);
var date = (Date.parse(entry.value)/1000) - 978307200
writeDouble(date)
}
function writeDict(entry) {

@@ -330,5 +339,12 @@ if (debug) {

} else if (typeof(dicts) === 'object') {
if (Object.keys(dicts).length == 1 && typeof(dicts.UID) === 'number') {
if (dicts instanceof Date) {
return [
{
type: 'date',
value: dicts
}
]
} else if (Object.keys(dicts).length == 1 && typeof(dicts.UID) === 'number') {
return [
{
type: 'UID',

@@ -335,0 +351,0 @@ value: dicts.UID

2

package.json
{
"name": "bplist-creator",
"version": "0.0.6",
"version": "0.0.7",
"description": "Binary Mac OS X Plist (property list) creator.",

@@ -5,0 +5,0 @@ "main": "bplistCreator.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc