Socket
Socket
Sign inDemoInstall

@secretlint/secretlint-rule-npm

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@secretlint/secretlint-rule-npm - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

3

module/index.js

@@ -18,3 +18,4 @@ import { matchPatterns } from "@textlint/regexp-string-matcher";

// https://github.blog/2012-09-21-easier-builds-and-deployments-using-git-over-https-and-oauth/
const XOAuthPattern = /https?:\/\/(.*?):x-oauth-basic@github.com.*/g;
// https://stackoverflow.com/questions/14402407/maximum-length-of-a-domain-name-without-the-http-www-com-parts
const XOAuthPattern = /https?:\/\/(.{1,256}):x-oauth-basic@github.com\//g;
const results = source.content.matchAll(XOAuthPattern);

@@ -21,0 +22,0 @@ for (const result of results) {

{
"name": "@secretlint/secretlint-rule-npm",
"version": "7.0.0",
"version": "7.0.1",
"description": "A secretlint rule for npm.",

@@ -58,7 +58,7 @@ "keywords": [

"dependencies": {
"@secretlint/types": "^7.0.0",
"@secretlint/types": "^7.0.1",
"@textlint/regexp-string-matcher": "^2.0.2"
},
"devDependencies": {
"@secretlint/tester": "^7.0.0",
"@secretlint/tester": "^7.0.1",
"@types/node": "^20.3.3",

@@ -77,3 +77,3 @@ "prettier": "^2.8.1",

},
"gitHead": "fd1045ba58b297a5dfdb7034ac44a47ce0695510"
"gitHead": "bb4ef809176588a7904c8932779237b5e5a3081a"
}

@@ -44,3 +44,4 @@ import {

// https://github.blog/2012-09-21-easier-builds-and-deployments-using-git-over-https-and-oauth/
const XOAuthPattern = /https?:\/\/(.*?):x-oauth-basic@github.com.*/g;
// https://stackoverflow.com/questions/14402407/maximum-length-of-a-domain-name-without-the-http-www-com-parts
const XOAuthPattern = /https?:\/\/(.{1,256}):x-oauth-basic@github.com\//g;
const results = source.content.matchAll(XOAuthPattern);

@@ -47,0 +48,0 @@ for (const result of results) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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