Socket
Socket
Sign inDemoInstall

lang-detector

Package Overview
Dependencies
1
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.9 to 0.2.0

2

index.js

@@ -123,2 +123,4 @@ /**

{ pattern: /(cout|cin|endl)/g, points: 2 },
// Visibility specifiers
{ pattern: /(public|protected|private):/, points: 2 },
// NULL constant

@@ -125,0 +127,0 @@ { pattern: /NULL/, points: 1 },

2

package.json
{
"name": "lang-detector",
"version": "0.1.9",
"version": "0.2.0",
"description": "A library for detecting the programming language of a code snippet.",

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

@@ -15,2 +15,3 @@ lang-detector

* C
* C++
* Python

@@ -17,0 +18,0 @@ * Java

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc