First commit

This commit is contained in:
2026-01-12 13:12:46 +01:00
parent b2d9501f6d
commit a1fbd8acf5
4413 changed files with 1245183 additions and 0 deletions

25
node_modules/process-warning/benchmarks/warn.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
'use strict'
const { Suite } = require('benchmark')
const { createWarning } = require('..')
const err1 = createWarning({
name: 'TestWarning',
code: 'TST_ERROR_CODE_1',
message: 'message'
})
const err2 = createWarning({
name: 'TestWarning',
code: 'TST_ERROR_CODE_2',
message: 'message'
})
new Suite()
.add('warn', function () {
err1()
err2()
})
.on('cycle', function (event) {
console.log(String(event.target))
})
.run()