process-warning
Advanced tools
| 'use strict' | ||
| module.exports = require('neostandard')({ | ||
| ignores: require('neostandard').resolveIgnoresFromGitignore(), | ||
| ts: true | ||
| }) |
@@ -20,6 +20,6 @@ name: CI | ||
| test: | ||
| uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.2.1 | ||
| uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5 | ||
| with: | ||
| license-check: true | ||
| lint: true | ||
| node-versions: '["16", "18", "20"]' | ||
| node-versions: '["16", "18", "20", "22"]' |
+34
-4
| { | ||
| "name": "process-warning", | ||
| "version": "4.0.0", | ||
| "version": "4.0.1", | ||
| "description": "A small utility for creating warnings and emitting them.", | ||
@@ -9,4 +9,4 @@ "main": "index.js", | ||
| "scripts": { | ||
| "lint": "standard", | ||
| "lint:fix": "standard --fix", | ||
| "lint": "eslint", | ||
| "lint:fix": "eslint --fix", | ||
| "test": "npm run test:unit && npm run test:jest && npm run test:typescript", | ||
@@ -31,2 +31,21 @@ "test:jest": "jest jest.test.js", | ||
| "author": "Tomas Della Vedova", | ||
| "contributors": [ | ||
| { | ||
| "name": "Matteo Collina", | ||
| "email": "hello@matteocollina.com" | ||
| }, | ||
| { | ||
| "name": "Manuel Spigolon", | ||
| "email": "behemoth89@gmail.com" | ||
| }, | ||
| { | ||
| "name": "James Sumners", | ||
| "url": "https://james.sumners.info" | ||
| }, | ||
| { | ||
| "name": "Frazer Smith", | ||
| "email": "frazer.dev@icloud.com", | ||
| "url": "https://github.com/fdawgs" | ||
| } | ||
| ], | ||
| "license": "MIT", | ||
@@ -37,7 +56,18 @@ "bugs": { | ||
| "homepage": "https://github.com/fastify/fastify-warning#readme", | ||
| "funding": [ | ||
| { | ||
| "type": "github", | ||
| "url": "https://github.com/sponsors/fastify" | ||
| }, | ||
| { | ||
| "type": "opencollective", | ||
| "url": "https://opencollective.com/fastify" | ||
| } | ||
| ], | ||
| "devDependencies": { | ||
| "@fastify/pre-commit": "^2.1.0", | ||
| "benchmark": "^2.1.4", | ||
| "eslint": "^9.17.0", | ||
| "jest": "^29.7.0", | ||
| "standard": "^17.1.0", | ||
| "neostandard": "^0.12.0", | ||
| "tap": "^18.7.2", | ||
@@ -44,0 +74,0 @@ "tsd": "^0.31.0" |
+2
-2
| # process-warning | ||
|  | ||
| [](https://github.com/fastify/process-warning/actions/workflows/ci.yml) | ||
| [](https://www.npmjs.com/package/process-warning) | ||
| [](https://standardjs.com/) | ||
| [](https://github.com/neostandard/neostandard) | ||
@@ -7,0 +7,0 @@ A small utility for generating consistent warning objects across your codebase. |
| 'use strict' | ||
| const { test } = require('tap') | ||
| const { spawnSync } = require('child_process') | ||
| const { resolve } = require('path') | ||
| const { spawnSync } = require('node:child_process') | ||
| const { resolve } = require('node:path') | ||
@@ -7,0 +7,0 @@ const entry = resolve(__dirname, '../examples', 'example.js') |
+5
-5
@@ -30,9 +30,9 @@ declare namespace processWarning { | ||
| export function createWarning(params: WarningOptions): WarningItem; | ||
| export function createDeprecation(params: DeprecationOptions): WarningItem; | ||
| export function createWarning (params: WarningOptions): WarningItem | ||
| export function createDeprecation (params: DeprecationOptions): WarningItem | ||
| const processWarning: ProcessWarning; | ||
| export { processWarning as default }; | ||
| const processWarning: ProcessWarning | ||
| export { processWarning as default } | ||
| } | ||
| export = processWarning; | ||
| export = processWarning |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
22979
4.07%22
4.76%531
0.95%7
16.67%2
100%