capsule-lint
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -8,3 +8,3 @@ #!/usr/bin/env node | ||
const { Command } = require('commander'); | ||
const { verify } = require('..'); | ||
const { verify } = require('../index.js'); | ||
@@ -11,0 +11,0 @@ const program = new Command(); |
{ | ||
"name": "capsule-lint", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "The official Capsule linting package.", | ||
@@ -5,0 +5,0 @@ "main": "index.umd.js", |
@@ -10,3 +10,3 @@ const bodyNoDuplicates = require('./body-no-duplicates'); | ||
const imgSrcRequired = require('./img-src-required'); | ||
const invalidTagChar = require('./invalid-attribute-char'); | ||
const invalidAttributeChar = require('./invalid-attribute-char'); | ||
const validPathFormat = require('./valid-path-format'); | ||
@@ -25,5 +25,5 @@ const nestedParagraphs = require('./nested-paragraphs'); | ||
'img-src-required': imgSrcRequired, | ||
'invalid-attribute-char': invalidTagChar, | ||
'invalid-attribute-char': invalidAttributeChar, | ||
'nested-paragraphs': nestedParagraphs, | ||
'valid-path-format': validPathFormat, | ||
}; |
@@ -13,4 +13,4 @@ module.exports = { | ||
const matches = name.match(/[^a-zA-Z_-\s="']/g); | ||
const matches = name.match(/[^a-zA-Z:\-1-9]/g); | ||
if(matches) { | ||
@@ -17,0 +17,0 @@ while(matches.length) { |
Sorry, the diff of this file is too big to display
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
133733
0