string_decoder
Advanced tools
Comparing version 1.0.0 to 1.0.1
'use strict'; | ||
var Buffer = require('buffer').Buffer; | ||
var bufferShim = require('buffer-shims'); | ||
var Buffer = require('safe-buffer').Buffer; | ||
@@ -81,3 +80,3 @@ var isEncoding = Buffer.isEncoding || function (encoding) { | ||
this.lastTotal = 0; | ||
this.lastChar = bufferShim.allocUnsafe(nb); | ||
this.lastChar = Buffer.allocUnsafe(nb); | ||
} | ||
@@ -84,0 +83,0 @@ |
{ | ||
"name": "string_decoder", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "The string_decoder module from Node core", | ||
"main": "lib/string_decoder.js", | ||
"dependencies": { | ||
"buffer-shims": "~1.0.0" | ||
"safe-buffer": "^5.0.1" | ||
}, | ||
@@ -9,0 +9,0 @@ "devDependencies": { |
@@ -10,4 +10,2 @@ # string_decoder | ||
[![Sauce Test Status](https://saucelabs.com/browser-matrix/string_decoder.svg)](https://saucelabs.com/u/string_decoder) | ||
```bash | ||
@@ -14,0 +12,0 @@ npm install --save string_decoder |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12235
250
29
+ Addedsafe-buffer@^5.0.1
+ Addedsafe-buffer@5.2.1(transitive)
- Removedbuffer-shims@~1.0.0
- Removedbuffer-shims@1.0.0(transitive)