Socket
Socket
Sign inDemoInstall

valid-identifier

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

.travis.yml

4

package.json
{
"name": "valid-identifier",
"version": "0.0.1",
"version": "0.0.2",
"description": "Validates namespaces and java package names against identifier rules",

@@ -24,3 +24,3 @@ "main": "valid-identifier.js",

"author": "Jesse MacFadyen",
"license": "ASF 2.0"
"license": "Apache-2.0"
}

@@ -22,2 +22,5 @@ <!--

[![Build Status](https://travis-ci.org/purplecabbage/valid-identifier.svg?branch=master)](https://travis-ci.org/purplecabbage/valid-identifier)
[![npm version](https://badge.fury.io/js/valid-identifier.svg)](https://badge.fury.io/js/valid-identifier)
#Usage

@@ -24,0 +27,0 @@

@@ -0,0 +0,0 @@ /**

@@ -21,3 +21,3 @@ /**

var reserved = [
"abstract","as","base","bool ","break","byte","case","catch","char",
"abstract","as","base","bool","break","byte","case","catch","char",
"checked","class","const","continue","decimal","default","delegate",

@@ -32,3 +32,4 @@ "do","double","else","enum","event","explicit","extern","false","finally",

"virtual","void","volatile","while","assert","package","synchronized",
"boolean","implements","import"];
"boolean","implements","import","extends","final","instanceof","native",
"strictfp","super","throws","transient"];

@@ -35,0 +36,0 @@ var regX = /([a-zA-Z_$][a-zA-Z\d_$]*\.)*[a-zA-Z_$][a-zA-Z\d_$]*/;

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc