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

is-keyword-js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-keyword-js - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -69,3 +69,3 @@ 'use strict';

module.exports = function(str) {
return !!reservedKeywords[str];
return reservedKeywords.hasOwnProperty(str);
};
{
"name": "is-keyword-js",
"version": "1.0.2",
"version": "1.0.3",
"description": "A simple way to check if a string is a keyword or reserved keyword in JavaScript",

@@ -5,0 +5,0 @@ "main": "index.js",

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