🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

process-warning

Package Overview
Dependencies
Maintainers
9
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

process-warning - npm Package Compare versions

Comparing version
4.0.0
to
4.0.1
+6
eslint.config.js
'use strict'
module.exports = require('neostandard')({
ignores: require('neostandard').resolveIgnoresFromGitignore(),
ts: true
})
+2
-2

@@ -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"]'
{
"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"

# process-warning
![CI](https://github.com/fastify/process-warning/workflows/CI/badge.svg)
[![CI](https://github.com/fastify/process-warning/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/fastify/process-warning/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/process-warning.svg?style=flat)](https://www.npmjs.com/package/process-warning)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](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')

@@ -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