Socket
Socket
Sign inDemoInstall

cfpathcheck

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cfpathcheck - npm Package Compare versions

Comparing version 10.0.1 to 10.0.2

4

bin/cli.js
#!/usr/bin/env node
import minimist from 'minimist';
import { check, formatter, writeOutput, writeFile } from '../lib/cfpathcheck.js';
import {
check, formatter, writeOutput, writeFile,
} from '../lib/cfpathcheck.js';

@@ -6,0 +8,0 @@ const argv = minimist(process.argv.slice(2));

@@ -5,2 +5,18 @@ # Change Log

## [10.0.2] - 2024-03-16
### Updated
- Object.prototype.hasOwnProperty.call() -> Object.hasOwn()
- Formatting for new eslint rules
- @snyk/protect@1.1284.0
- @types/chai@4.3.12
- @types/node@20.11.28
- chai@5.1.0
- eslint-config-xo@0.44.0
- eslint@8.57.0
- mocha@10.3.0
- npm-run-all2@6.1.2
- prettier@3.2.5
- typescript@5.4.2
- (Volta) npm@10.5.0
## [10.0.1] - 2024-01-16

@@ -628,2 +644,3 @@ ### Added

[10.0.1]: https://github.com/timbeadle/cfpathcheck/compare/10.0.1...10.0.2
[10.0.1]: https://github.com/timbeadle/cfpathcheck/compare/10.0.0...10.0.1

@@ -630,0 +647,0 @@ [10.0.0]: https://github.com/timbeadle/cfpathcheck/compare/9.0.0...10.0.0

@@ -1,2 +0,4 @@

import { readFileSync, existsSync, readdirSync, writeFileSync } from 'fs';
import {
readFileSync, existsSync, readdirSync, writeFileSync,
} from 'fs';
import path from 'path';

@@ -26,3 +28,3 @@ import { sync } from 'glob';

if (
!Object.prototype.hasOwnProperty.call(prefixedViolations, value.prefix)
!Object.hasOwn(prefixedViolations, value.prefix)
) {

@@ -40,3 +42,3 @@ prefixedViolations[value.prefix] = [];

} else if (
!Object.prototype.hasOwnProperty.call(prefixManifest, value.prefix)
!Object.hasOwn(prefixManifest, value.prefix)
|| !prefixManifest[value.prefix]

@@ -76,3 +78,3 @@ ) {

for (const prefix in prefixManifest) {
if (Object.prototype.hasOwnProperty.call(prefixManifest, prefix)) {
if (Object.hasOwn(prefixManifest, prefix)) {
if (prefixManifest[prefix]) {

@@ -79,0 +81,0 @@ delete prefixedViolations[prefix];

@@ -5,3 +5,3 @@ {

"description": "Check CFML files for correct paths in cfinclude/cfimport tags",
"version": "10.0.1",
"version": "10.0.2",
"homepage": "https://github.com/timbeadle/cfpathcheck",

@@ -52,3 +52,3 @@ "author": {

"dependencies": {
"@snyk/protect": "^1.1269.0",
"@snyk/protect": "^1.1284.0",
"chalk": "^5.3.0",

@@ -63,3 +63,3 @@ "checkstyle-formatter": "^1.1.0",

"devDependencies": {
"@types/chai": "4.3.11",
"@types/chai": "4.3.12",
"@types/checkstyle-formatter": "1.0.2",

@@ -70,14 +70,14 @@ "@types/deep-equal": "1.0.4",

"@types/mocha": "10.0.6",
"@types/node": "^20.11.2",
"chai": "5.0.0",
"eslint": "8.56.0",
"eslint-config-xo": "0.43.1",
"@types/node": "^20.11.28",
"chai": "5.1.0",
"eslint": "8.57.0",
"eslint-config-xo": "0.44.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-redos": "4.4.5",
"ls-engines": "0.9.1",
"mocha": "10.2.0",
"npm-run-all": "4.1.5",
"mocha": "10.3.0",
"npm-run-all2": "6.1.2",
"nyc": "15.1.0",
"prettier": "3.2.2",
"typescript": "^5.3.3"
"prettier": "3.2.5",
"typescript": "^5.4.2"
},

@@ -87,4 +87,4 @@ "snyk": true,

"node": "18.18.2",
"npm": "10.3.0"
"npm": "10.5.0"
}
}
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