New Upstream Snapshot - node-cjson

Ready changes

Summary

Merged new upstream version: 0.5.0+git20170925.1.1f523e9 (was: 0.5.0).

Resulting package

Built on 2022-12-20T14:29 (took 6m10s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots node-cjson

Lintian Result

Diff

diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index eb03e3e..0000000
--- a/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules
-*.log
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..8111245
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+  - 0.6
+  - 0.8
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
index 8f883f8..9975fdf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-cjson (0.5.0+git20170925.1.1f523e9-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 20 Dec 2022 14:25:47 -0000
+
 node-cjson (0.5.0-3) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/debian/patches/use_nodejs.patch b/debian/patches/use_nodejs.patch
index dc01161..c49d165 100644
--- a/debian/patches/use_nodejs.patch
+++ b/debian/patches/use_nodejs.patch
@@ -1,6 +1,8 @@
 Description: Use_nodejs
---- a/Makefile
-+++ b/Makefile
+Index: node-cjson.git/Makefile
+===================================================================
+--- node-cjson.git.orig/Makefile
++++ node-cjson.git/Makefile
 @@ -1,4 +1,4 @@
  test:
 -	node ./test/test.js
diff --git a/package.json b/package.json
index 9558e04..467a276 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "cjson",
   "description": "cjson - Commented JavaScript Object Notation. It is a json loader, which parses only valid json files, but with comments enabled. Useful for loading configs.",
-  "version": "0.5.0",
+  "version": "0.4.0",
   "repository": "git://github.com/kof/node-cjson.git",
   "keywords": [
     "json",
diff --git a/readme.md b/readme.md
index 8295d13..8f79fbb 100644
--- a/readme.md
+++ b/readme.md
@@ -3,7 +3,7 @@
 
 JSON has a good spec, is implemented in every language, has easy to read syntax and is much more powerful than ini files.
 
-JSON is perfect for writing config files, except of one problem - there is no comments, but sometimes config files get large and need to be commented.
+JSON is perfect for writing config files, except of one problem - there are no comments, but sometimes config files get large and need to be commented.
 
 Well, you could just evaluate json file as a JavaScript using one-liner, right?
 
@@ -35,13 +35,13 @@ Example of such shiny config file:
 Load config file from given path, array of paths or directory. Second parameter is optional and can be a boolean or object.
 
 - `path` {String|Array} absolute path to the file, array of paths or directory
-- `options` {Boolean|Object} optional options. If you pass `true` as second param, its the same like `    {merge: true}` and will merge all configs together.
+- `options` {Boolean|Object} optional options. If you pass `true` as second param, its the same as `{merge: true}` and will merge all configs together.
 
 
 `options` defaults:
 ```javascript
 {
-	// merge all passed/found config files, see `cjson.extend`
+    // deep merge all passed/found config files, see `cjson.extend`
     merge: false,
     // allows you to do some string replacements, see `cjson.replace`.
     replace: null,
@@ -112,18 +112,18 @@ var object = cjson.extend({}, object1, object2);
 ### cjson.decomment(str)
 
 Remove JavaScript style comments, singleline - '//' and multiline - '/**/'. It takes care
-about comments inside of strings and escaping.
+of comments inside of strings and escaping.
 
 ### cjson.parse(str, [reviver])
 
-Like `JSON.parse`, but it takes care about comments. Optional `reviver` argument
+Like `JSON.parse`, but it takes care of comments. Optional `reviver` argument
 is for `JSON.parse` method and will be called for every key and value at every level
-of the final result
+of the final result.
 
 ### cjson.replace(str, obj)
 
 Replace all strings `{{key}}` contained in `{key: 'value'}`, where `key` can be any
-property of passed `obj`.
+property of the passed `obj`.
 
 Example:
 ```javascript

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details