@transloadit/pr
Advanced tools
Comparing version 0.6.0 to 1.0.0
@@ -1,2 +0,1 @@ | ||
declare const _default: <T>(...args: T[]) => T[]; | ||
export = _default; | ||
export declare function pr<T>(...args: T[]): T[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.pr = pr; | ||
const util = require("node:util"); | ||
module.exports = function pr(...args) { | ||
function pr(...args) { | ||
for (const arg of args) { | ||
@@ -8,3 +10,3 @@ console.log(util.inspect(arg, false, null, true)); | ||
return args; | ||
}; | ||
} | ||
//# sourceMappingURL=pr.js.map |
{ | ||
"name": "@transloadit/pr", | ||
"version": "0.6.0", | ||
"version": "1.0.0", | ||
"repository": { | ||
@@ -12,7 +12,11 @@ "type": "git", | ||
"types": "dist/pr.d.ts", | ||
"files": [ | ||
"dist", | ||
"src", | ||
"!*.test.*" | ||
], | ||
"scripts": { | ||
"build": "tsc --build --clean && tsc --build", | ||
"typecheck": "tsc --noEmit", | ||
"test": "tsx --test src/**/*.test.ts", | ||
"test:watch": "tsx --test --watch src/**/*.test.ts" | ||
"prepack": "tsc --build", | ||
"test": "tsc --build && node --test --enable-source-maps", | ||
"test:watch": "node --test --enable-source-maps --watch" | ||
}, | ||
@@ -19,0 +23,0 @@ "publishConfig": { |
import util = require('node:util') | ||
export = function pr<T>(...args: T[]): T[] { | ||
export function pr<T>(...args: T[]): T[] { | ||
for (const arg of args) { | ||
@@ -5,0 +5,0 @@ console.log(util.inspect(arg, false, null, true)) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
36038
7
18