commit nodejs-read-package-json for openSUSE:Factory

2015-07-19 Thread h_root
Hello community,

here is the log from the commit of package nodejs-read-package-json for 
openSUSE:Factory checked in at 2015-07-19 11:45:35

Comparing /work/SRC/openSUSE:Factory/nodejs-read-package-json (Old)
 and  /work/SRC/openSUSE:Factory/.nodejs-read-package-json.new (New)


Package is "nodejs-read-package-json"

Changes:

--- 
/work/SRC/openSUSE:Factory/nodejs-read-package-json/nodejs-read-package-json.changes
2015-04-27 13:02:31.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.nodejs-read-package-json.new/nodejs-read-package-json.changes
   2015-07-19 11:45:37.0 +0200
@@ -1,0 +2,5 @@
+Fri Apr 24 12:42:23 UTC 2015 - hvo...@suse.com
+
+- Update to version 2.0.0
+
+---

Old:

  read-package-json-1.2.7.tgz

New:

  read-package-json-2.0.0.tgz



Other differences:
--
++ nodejs-read-package-json.spec ++
--- /var/tmp/diff_new_pack.eFSWQO/_old  2015-07-19 11:45:38.0 +0200
+++ /var/tmp/diff_new_pack.eFSWQO/_new  2015-07-19 11:45:38.0 +0200
@@ -19,7 +19,7 @@
 %define base_name read-package-json
 
 Name:   nodejs-read-package-json
-Version:1.2.7
+Version:2.0.0
 Release:0
 Summary:Read package.json files
 License:ISC

++ read-package-json-1.2.7.tgz -> read-package-json-2.0.0.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json2014-08-29 02:29:03.0 +0200
+++ new/package/package.json2015-04-07 06:21:12.0 +0200
@@ -1,6 +1,6 @@
 {
   "name": "read-package-json",
-  "version": "1.2.7",
+  "version": "2.0.0",
   "author": "Isaac Z. Schlueter  (http://blog.izs.me/)",
   "description": "The thing npm uses to read package.json files with semantics 
and defaults and validation",
   "repository": {
@@ -9,17 +9,16 @@
   },
   "main": "read-json.js",
   "scripts": {
-"test": "tap test/*.js"
+"test": "standard && tap test/*.js"
   },
   "dependencies": {
-"github-url-from-git": "^1.3.0",
-"github-url-from-username-repo": "~1.0.0",
-"glob": "^4.0.2",
-"lru-cache": "2",
-"normalize-package-data": "^1.0.0"
+"glob": "^5.0.3",
+"json-parse-helpfulerror": "^1.0.2",
+"normalize-package-data": "^2.0.0"
   },
   "devDependencies": {
-"tap": "~0.2.5"
+"standard": "^3.3.1",
+"tap": "^0.7.1"
   },
   "optionalDependencies": {
 "graceful-fs": "2 || 3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/package/read-json.js new/package/read-json.js
--- old/package/read-json.js2014-06-10 07:39:53.0 +0200
+++ new/package/read-json.js2015-04-07 06:18:57.0 +0200
@@ -1,382 +1,383 @@
-// vim: set softtabstop=16 shiftwidth=16:
-
+var fs
 try {
-var fs = require("graceful-fs")
+  fs = require('graceful-fs')
 } catch (er) {
-var fs = require("fs")
+  fs = require('fs')
 }
 
+var path = require('path')
 
-module.exports = readJson
+var glob = require('glob')
+var normalizeData = require('normalize-package-data')
+var safeJSON = require('json-parse-helpfulerror')
 
-var LRU = require("lru-cache")
-readJson.cache = new LRU({max: 1000})
-var path = require("path")
-var glob = require("glob")
-var normalizeData = require("normalize-package-data")
+module.exports = readJson
 
 // put more stuff on here to customize.
 readJson.extraSet = [
-gypfile,
-serverjs,
-scriptpath,
-authors,
-readme,
-mans,
-bins,
-githead
+  gypfile,
+  serverjs,
+  scriptpath,
+  authors,
+  readme,
+  mans,
+  bins,
+  githead
 ]
 
 var typoWarned = {}
 
-
 function readJson (file, log_, strict_, cb_) {
-var log, strict, cb
-for (var i = 1; i < arguments.length - 1; i++) {
-if (typeof arguments[i] === 'boolean')
-strict = arguments[i]
-else if (typeof arguments[i] === 'function')
-log = arguments[i]
-}
-if (!log) log = function () {};
-cb = arguments[ arguments.length - 1 ]
-
-var c = readJson.cache.get(file)
-if (c) {
-cb = cb.bind(null, null, c)
-return process.nextTick(cb);
-}
-cb = (function (orig) { return function (er, data) {
-if (data) readJson.cache

commit nodejs-read-package-json for openSUSE:Factory

2015-04-27 Thread h_root
Hello community,

here is the log from the commit of package nodejs-read-package-json for 
openSUSE:Factory checked in at 2015-04-27 13:02:30

Comparing /work/SRC/openSUSE:Factory/nodejs-read-package-json (Old)
 and  /work/SRC/openSUSE:Factory/.nodejs-read-package-json.new (New)


Package is "nodejs-read-package-json"

Changes:

--- 
/work/SRC/openSUSE:Factory/nodejs-read-package-json/nodejs-read-package-json.changes
2014-10-24 10:47:15.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.nodejs-read-package-json.new/nodejs-read-package-json.changes
   2015-04-27 13:02:31.0 +0200
@@ -1,0 +2,5 @@
+Sat Apr  4 06:45:22 UTC 2015 - dmuel...@suse.com
+
+- enable building for all arches
+
+---



Other differences:
--
++ nodejs-read-package-json.spec ++
--- /var/tmp/diff_new_pack.DKjbhy/_old  2015-04-27 13:02:31.0 +0200
+++ /var/tmp/diff_new_pack.DKjbhy/_new  2015-04-27 13:02:31.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nodejs-read-package-json
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,6 @@
 BuildRequires:  nodejs-packaging
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
 
 %nodejs_find_provides_and_requires
 




commit nodejs-read-package-json for openSUSE:Factory

2014-10-24 Thread h_root
Hello community,

here is the log from the commit of package nodejs-read-package-json for 
openSUSE:Factory checked in at 2014-10-24 10:47:13

Comparing /work/SRC/openSUSE:Factory/nodejs-read-package-json (Old)
 and  /work/SRC/openSUSE:Factory/.nodejs-read-package-json.new (New)


Package is "nodejs-read-package-json"

Changes:

--- 
/work/SRC/openSUSE:Factory/nodejs-read-package-json/nodejs-read-package-json.changes
2014-09-24 13:10:10.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.nodejs-read-package-json.new/nodejs-read-package-json.changes
   2014-10-24 10:47:15.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct  9 15:08:33 UTC 2014 - jgleiss...@suse.com
+
+- use nodejs-packaging for building
+
+---



Other differences:
--
++ nodejs-read-package-json.spec ++
--- /var/tmp/diff_new_pack.bmot6g/_old  2014-10-24 10:47:16.0 +0200
+++ /var/tmp/diff_new_pack.bmot6g/_new  2014-10-24 10:47:16.0 +0200
@@ -26,17 +26,12 @@
 Group:  Development/Languages/Other
 Url:https://github.com/isaacs/read-package-json
 Source: 
http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
-Requires:   nodejs-github-url-from-git
-Requires:  nodejs-github-url-from-username-repo
-Requires:   nodejs-glob
-Requires:   nodejs-lru-cache
-Requires:   nodejs-normalize-package-data
-Requires:  nodejs-graceful-fs
-BuildRequires:  nodejs
+BuildRequires:  nodejs-packaging
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
-%{?nodejs_requires}
+
+%nodejs_find_provides_and_requires
 
 %description
 This module is used by NPM to read package.json files.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org