New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@stdlib/buffer-from-string

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/buffer-from-string - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+2
-2
lib/polyfill.js

@@ -52,5 +52,5 @@ /**

}
return new Buffer( str, encoding ); // eslint-disable-line no-buffer-constructor
return new Buffer( str, encoding );
}
return new Buffer( str, 'utf8' ); // eslint-disable-line no-buffer-constructor
return new Buffer( str, 'utf8' );
}

@@ -57,0 +57,0 @@

{
"name": "@stdlib/buffer-from-string",
"version": "0.2.2",
"version": "0.2.3",
"description": "Allocate a buffer containing a provided string.",

@@ -33,7 +33,7 @@ "license": "Apache-2.0",

"dependencies": {
"@stdlib/assert-is-function": "^0.2.2",
"@stdlib/assert-is-string": "^0.2.2",
"@stdlib/buffer-ctor": "^0.2.1",
"@stdlib/string-format": "^0.2.2",
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
"@stdlib/assert-is-function": "^0.2.3",
"@stdlib/assert-is-string": "^0.2.3",
"@stdlib/buffer-ctor": "^0.2.2",
"@stdlib/string-format": "^0.2.3",
"@stdlib/error-tools-fmtprodmsg": "^0.2.3"
},

@@ -40,0 +40,0 @@ "devDependencies": {},

@@ -88,3 +88,3 @@ <!--

- `ascii`
- `ucs2`
- `ucs2` (`ucs-2`)
- `base64`

@@ -190,3 +190,3 @@

Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].

@@ -204,4 +204,4 @@ </section>

[test-image]: https://github.com/stdlib-js/buffer-from-string/actions/workflows/test.yml/badge.svg?branch=v0.2.2
[test-url]: https://github.com/stdlib-js/buffer-from-string/actions/workflows/test.yml?query=branch:v0.2.2
[test-image]: https://github.com/stdlib-js/buffer-from-string/actions/workflows/test.yml/badge.svg?branch=v0.2.3
[test-url]: https://github.com/stdlib-js/buffer-from-string/actions/workflows/test.yml?query=branch:v0.2.3

@@ -218,4 +218,4 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/buffer-from-string/main.svg

[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
[chat-url]: https://stdlib.zulipchat.com

@@ -222,0 +222,0 @@ [stdlib]: https://github.com/stdlib-js/stdlib

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet