Comparing version 1.0.0 to 1.0.1
1.0.1 / 2014-06-25 | ||
================== | ||
* add .zuul.yml file for browser testing | ||
* remove Testling stuff | ||
* build: fix global variable `val` leak | ||
* package: use --check-leaks when running mocha tests | ||
* README: update examples to use preferred API | ||
* package: add "browser" keyword | ||
1.0.0 / 2014-05-20 | ||
@@ -3,0 +13,0 @@ ================== |
@@ -123,4 +123,3 @@ | ||
} else if ('Boolean' == name) { | ||
val = next ? 'true' : 'false'; | ||
next_child.ele(val); | ||
next_child.ele(next ? 'true' : 'false'); | ||
@@ -127,0 +126,0 @@ } else if ('String' == name) { |
{ | ||
"name": "plist", | ||
"description": "Mac OS X Plist parser/builder for Node.js and browsers", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Nathan Rajlich <nathan@tootallnate.net>", | ||
@@ -19,2 +19,3 @@ "contributors": [ | ||
"apple", | ||
"browser", | ||
"mac", | ||
@@ -38,17 +39,4 @@ "plist", | ||
"scripts": { | ||
"test": "mocha -gc --reporter spec test/*.js" | ||
}, | ||
"testling": { | ||
"browsers": [ | ||
"ie/8..latest", | ||
"chrome/15..latest", | ||
"firefox/22..latest", | ||
"opera/12..latest", | ||
"safari/5.1..latest", | ||
"iphone/6..latest", | ||
"ipad/6..latest" | ||
], | ||
"harness": "mocha", | ||
"files": "test/*.js" | ||
"test": "mocha -gc --reporter spec --check-leaks test/*.js" | ||
} | ||
} |
@@ -7,4 +7,2 @@ plist.js | ||
[![Browser Support](https://ci.testling.com/TooTallNate/plist.js.png)](https://ci.testling.com/TooTallNate/plist.js) | ||
Provides facilities for reading and writing Mac OS X Plist (property list) | ||
@@ -58,12 +56,13 @@ files. These are often used in programming OS X and iOS applications, as | ||
Parsing a plist from filename | ||
Parsing a plist from filename: | ||
``` javascript | ||
var fs = require('fs'); | ||
var plist = require('plist'); | ||
var obj = plist.parseFileSync('myPlist.plist'); | ||
var obj = plist.parse(fs.readFileSync('myPlist.plist', 'utf8')); | ||
console.log(JSON.stringify(obj)); | ||
``` | ||
Parsing a plist from string payload | ||
Parsing a plist from string payload: | ||
@@ -73,3 +72,3 @@ ``` javascript | ||
var obj = plist.parseStringSync('<plist><string>Hello World!</string></plist>'); | ||
var obj = plist.parse('<plist><string>Hello World!</string></plist>'); | ||
console.log(obj); // Hello World! | ||
@@ -86,3 +85,3 @@ ``` | ||
console.log(plist.build({'foo' : 'bar'}).toString()); | ||
console.log(plist.build({ foo: 'bar' })); | ||
``` | ||
@@ -89,0 +88,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1034482
18
2
28849
112