@stdlib/buffer-from-string
Advanced tools
+2
-2
@@ -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 @@ |
+6
-6
| { | ||
| "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": {}, |
+6
-6
@@ -88,3 +88,3 @@ <!-- | ||
| - `ascii` | ||
| - `ucs2` | ||
| - `ucs2` (`ucs-2`) | ||
| - `base64` | ||
@@ -190,3 +190,3 @@ | ||
| Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. | ||
| Copyright © 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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
36216
-0.53%9
Infinity%