[Pkg-javascript-commits] [Git][js-team/node-safe-buffer][upstream] New upstream version 5.2.0

Xavier Guimard gitlab at salsa.debian.org
Sun Mar 1 20:02:50 GMT 2020



Xavier Guimard pushed to branch upstream at Debian JavaScript Maintainers / node-safe-buffer


Commits:
ee363bd6 by Xavier Guimard at 2020-03-01T20:52:30+01:00
New upstream version 5.2.0
- - - - -


5 changed files:

- .npmignore
- − .travis.yml
- README.md
- index.js
- package.json


Changes:

=====================================
.npmignore
=====================================
@@ -1,2 +1,3 @@
+.github/
 .travis.yml
 test/


=====================================
.travis.yml deleted
=====================================
@@ -1,8 +0,0 @@
-language: node_js
-node_js:
-  - '10'
-  - '8'
-  - '6'
-  - '4'
-  - '0.12'
-  - '0.10'


=====================================
README.md
=====================================
@@ -22,6 +22,8 @@
 npm install safe-buffer
 ```
 
+[Get supported safe-buffer with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-safe-buffer?utm_source=npm-safe-buffer&utm_medium=referral&utm_campaign=readme)
+
 ## usage
 
 The goal of this package is to provide a safe replacement for the node.js `Buffer`.


=====================================
index.js
=====================================
@@ -20,6 +20,8 @@ function SafeBuffer (arg, encodingOrOffset, length) {
   return Buffer(arg, encodingOrOffset, length)
 }
 
+SafeBuffer.prototype = Object.create(Buffer.prototype)
+
 // Copy static methods from Buffer
 copyProps(Buffer, SafeBuffer)
 


=====================================
package.json
=====================================
@@ -1,7 +1,7 @@
 {
   "name": "safe-buffer",
   "description": "Safer Node.js Buffer API",
-  "version": "5.1.2",
+  "version": "5.2.0",
   "author": {
     "name": "Feross Aboukhadijeh",
     "email": "feross at feross.org",



View it on GitLab: https://salsa.debian.org/js-team/node-safe-buffer/-/commit/ee363bd6c1313ebc704f21fa89e0cae232a50651

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-safe-buffer/-/commit/ee363bd6c1313ebc704f21fa89e0cae232a50651
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20200301/25670efe/attachment-0001.html>


More information about the Pkg-javascript-commits mailing list