[Pkg-javascript-commits] [node-object-assign-sorted] 01/04: Import Upstream version 1.0.0

Paolo Greppi paolog-guest at moszumanska.debian.org
Sat Dec 24 08:54:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

paolog-guest pushed a commit to branch master
in repository node-object-assign-sorted.

commit 431135a73bc343a6982b76a9f0353fa6f01baf73
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Sat Dec 24 08:22:09 2016 +0000

    Import Upstream version 1.0.0
---
 .gitignore   |  2 ++
 LICENSE      | 22 ++++++++++++++++++++++
 README.md    | 10 ++++++++++
 index.js     |  6 ++++++
 package.json | 27 +++++++++++++++++++++++++++
 5 files changed, 67 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..eb03e3e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+node_modules
+*.log
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..f21f59f
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+COPYRIGHT (c) 2016 James Kyle <me at thejameskyle.com>
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1d64e04
--- /dev/null
+++ b/README.md
@@ -0,0 +1,10 @@
+# object-assign-sorted
+
+`Object.assign` with sorted keys.
+
+```js
+var objectAssignSorted = require('object-assign-sorted');
+
+objectAssignSorted({ b: 1, a: 1 }, { c: 2, b: 2 });
+// >> { a: 1, b: 2, c: 2 }
+```
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..a03efc6
--- /dev/null
+++ b/index.js
@@ -0,0 +1,6 @@
+var objectAssign = require('object-assign');
+var sortedObject = require('sorted-object');
+
+module.exports = function objectAssignSorted() {
+  return sortedObject(objectAssign.apply(null, arguments));
+};
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..e221593
--- /dev/null
+++ b/package.json
@@ -0,0 +1,27 @@
+{
+  "name": "object-assign-sorted",
+  "version": "1.0.0",
+  "description": "Object.assign with sorted keys",
+  "main": "index.js",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/thejameskyle/object-assign-sorted"
+  },
+  "keywords": [
+    "object.assign",
+    "sorted"
+  ],
+  "author": "James Kyle <me at thejameskyle.com>",
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/thejameskyle/object-assign-sorted/issues"
+  },
+  "homepage": "https://github.com/thejameskyle/object-assign-sorted",
+  "dependencies": {
+    "object-assign": "^4.0.1",
+    "sorted-object": "^2.0.0"
+  }
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-object-assign-sorted.git



More information about the Pkg-javascript-commits mailing list