Socket
Socket
Sign inDemoInstall

xcode

Package Overview
Dependencies
Maintainers
1
Versions
1212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xcode - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

test/parser/comments.js

6

lib/pbxProject.js

@@ -24,3 +24,3 @@ var util = require('util'),

worker.on('message', function (msg) {
if (msg.code) {
if (msg.name == 'SyntaxError' || msg.code) {
this.emit('error', msg);

@@ -33,4 +33,6 @@ } else {

if (cb)
if (cb) {
this.on('error', cb);
this.on('end', cb);
}

@@ -37,0 +39,0 @@ return this;

{
"author": "Andrew Lunny <alunny@gmail.com>",
"name": "xcode",
"description": "tools for working with xcode projects",
"version": "0.3.2",
"description": "parser for xcodeproj/project.pbxproj files",
"version": "0.3.3",
"main":"index.js",
"repository": {
"url": ""
"url": "https://github.com/alunny/node-xcode.git"
},

@@ -19,3 +19,6 @@ "engines": {

"nodeunit":"0.6.4"
},
"scripts": {
"test": "node_modules/.bin/nodeunit test/parser test"
}
}
# node-xcode
> tools and utilities for working with xcode/iOS from the command-line
> parser for xcodeproj/project.pbxproj files
Not much to see yet

@@ -51,2 +51,10 @@ var pbx = require('../lib/pbxProject'),

},
'should handle projects with comments in the header': function (test) {
var myProj = new pbx('test/parser/projects/comments.pbxproj');
myProj.parse(function (err, projHash) {
test.ok(projHash);
test.done();
})
},
'should attach the hash object to the pbx object': function (test) {

@@ -59,2 +67,10 @@ var myProj = new pbx('test/parser/projects/hash.pbxproj');

})
},
'it should pass an error object back when the parsing fails': function (test) {
var myProj = new pbx('test/parser/projects/fail.pbxproj');
myProj.parse(function (err, projHash) {
test.ok(err);
test.done();
})
}

@@ -61,0 +77,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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