Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

whatwg-encoding

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatwg-encoding - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/whatwg-encoding.js

@@ -10,3 +10,3 @@ "use strict";

exports.labelToName = label => {
label = label.trim().toLowerCase();
label = String(label).trim().toLowerCase();

@@ -47,3 +47,3 @@ return labelsToNames[label] || null;

exports.isSupported = name => {
return supportedNamesSet.has(name);
return supportedNamesSet.has(String(name));
};

@@ -8,3 +8,3 @@ {

],
"version": "1.0.0",
"version": "1.0.1",
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",

@@ -11,0 +11,0 @@ "license": "WTFPL",

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