New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stablelib/utf8

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stablelib/utf8 - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

lib/utf8.bench.js
// Copyright (C) 2016 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
import { encode, decode } from "./utf8";
import { encode, decode } from "./utf8.js";
import { benchmark, report } from "@stablelib/benchmark";

@@ -5,0 +5,0 @@ const text = `— Еh bien, mon prince. Gênes et Lucques ne sont plus que des apanages,

@@ -5,3 +5,3 @@ // Copyright (C) 2016 Dmitry Chestnykh

import * as hex from "@stablelib/hex";
import { encode, decode } from "./utf8";
import { encode, decode } from "./utf8.js";
describe("utf8", () => {

@@ -8,0 +8,0 @@ it("should encode and decode strings", () => {

{
"name": "@stablelib/utf8",
"version": "2.0.0",
"version": "2.0.1",
"description": "UTF-8 encoder and decoder",

@@ -24,5 +24,5 @@ "main": "./lib/utf8.js",

"@stablelib/benchmark": "^2.0.0",
"@stablelib/hex": "^2.0.0"
"@stablelib/hex": "^2.0.1"
},
"gitHead": "ecfe9109b3c05419fd3ffc16da6c8255b08ad64f"
"gitHead": "99bee56f6af6211d037c35e3eef749f3c1e84502"
}
// Copyright (C) 2016 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
import { encode, decode } from "./utf8";
import { encode, decode } from "./utf8.js";
import { benchmark, report } from "@stablelib/benchmark";

@@ -6,0 +6,0 @@

@@ -6,3 +6,3 @@ // Copyright (C) 2016 Dmitry Chestnykh

import * as hex from "@stablelib/hex";
import { encode, decode } from "./utf8";
import { encode, decode } from "./utf8.js";

@@ -9,0 +9,0 @@ describe("utf8", () => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc