exif-be-gone
Advanced tools
Comparing version
@@ -20,3 +20,3 @@ import { Transform, TransformOptions, TransformCallback } from 'stream' | ||
_transform (chunk: any, encoding: string, callback: TransformCallback) { | ||
_transform (chunk: any, _: string, callback: TransformCallback) { | ||
this._scrub(false, chunk) | ||
@@ -37,3 +37,3 @@ callback() | ||
if (this.remainingBytes === undefined) { | ||
var app1Start = pendingChunk.indexOf(app1Marker) | ||
const app1Start = pendingChunk.indexOf(app1Marker) | ||
// no app1 in the current pendingChunk | ||
@@ -40,0 +40,0 @@ if (app1Start === -1) { |
{ | ||
"name": "exif-be-gone", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Remove EXIF data from your image files.", | ||
@@ -12,5 +12,5 @@ "main": "index.js", | ||
"test": "npm run build && mocha -R spec spec/*.spec.js", | ||
"test-samples": "npm run build && ./script/test.sh", | ||
"test:samples": "npm run build && ./scripts/test.sh", | ||
"lint": "standardx *.ts **/*.ts", | ||
"lintfix": "standardx *.ts **/*.ts --fix" | ||
"lint:fix": "standardx *.ts **/*.ts --fix" | ||
}, | ||
@@ -29,3 +29,3 @@ "author": "Josh Hull", | ||
"@types/mocha": "^8.0.2", | ||
"@types/node": "^14.0.27", | ||
"@types/node": "^18.6.3", | ||
"@typescript-eslint/eslint-plugin": "^3.9.0", | ||
@@ -36,8 +36,9 @@ "@typescript-eslint/parser": "^3.9.0", | ||
"mocha": "8.1.1", | ||
"standardx": "^5.0.0", | ||
"standardx": "^7.0.0", | ||
"stream-buffers": "^3.0.2", | ||
"typescript": "^3.9.7", | ||
"typescript": "^4.7.4", | ||
"typescript-eslint": "0.0.1-alpha.0" | ||
}, | ||
"eslintConfig": { | ||
"ignorePatterns": ["**/*.d.ts"], | ||
"rules": { | ||
@@ -44,0 +45,0 @@ "no-unused-vars": "off", |
@@ -30,14 +30,14 @@ { | ||
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ | ||
// "strictNullChecks": true, /* Enable strict null checks. */ | ||
// "strictFunctionTypes": true, /* Enable strict checking of function types. */ | ||
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ | ||
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ | ||
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ | ||
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ | ||
"strictNullChecks": true, /* Enable strict null checks. */ | ||
"strictFunctionTypes": true, /* Enable strict checking of function types. */ | ||
"strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ | ||
"strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ | ||
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ | ||
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ | ||
/* Additional Checks */ | ||
// "noUnusedLocals": true, /* Report errors on unused locals. */ | ||
// "noUnusedParameters": true, /* Report errors on unused parameters. */ | ||
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ | ||
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ | ||
"noUnusedLocals": true, /* Report errors on unused locals. */ | ||
"noUnusedParameters": true, /* Report errors on unused parameters. */ | ||
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ | ||
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ | ||
@@ -73,5 +73,5 @@ /* Module Resolution Options */ | ||
"*.ts", | ||
"spec/*.ts" | ||
"spec/*.spec.ts" | ||
], | ||
"exclude": ["node_modules"] | ||
} |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
21082
76.63%10
100%284
79.75%0
-100%1
Infinity%