buffer-v6-polyfill
Advanced tools
Comparing version 1.0.0 to 1.0.1
'use strict'; | ||
if (!(Number(process.version.match(/^v(\d+\.\d+)/)[1]) >= 6.0)) { | ||
if (Number(process.version.match(/^v(\d+\.\d+)/)[1]) >= 6.0) { | ||
return; | ||
@@ -5,0 +5,0 @@ } |
{ | ||
"name": "buffer-v6-polyfill", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A polyfill for older versions of node.js for the node v6 Buffer", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,6 +5,20 @@ # node-buffer-v6-shim | ||
Usage | ||
----- | ||
``` | ||
'use strict'; | ||
require('buffer-v6-polyfill'); | ||
// all your codez ... | ||
``` | ||
Show me the Code | ||
---------------- | ||
```javascript | ||
'use strict'; | ||
if (!(Number(process.version.match(/^v(\d+\.\d+)/)[1]) >= 6.0)) { | ||
if (Number(process.version.match(/^v(\d+\.\d+)/)[1]) >= 6.0) { | ||
return; | ||
@@ -11,0 +25,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
3653
6
20
40