@transloadit/pr
Advanced tools
Comparing version 0.3.3 to 0.3.5
@@ -1,1 +0,2 @@ | ||
export default function pr<T>(...args: T[]): T[]; | ||
declare const _default: <T>(...args: T[]) => T[]; | ||
export = _default; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const util = __importStar(require("util")); | ||
function pr(...args) { | ||
const util = require("node:util"); | ||
module.exports = function pr(...args) { | ||
for (const arg of args) { | ||
@@ -32,4 +8,3 @@ console.log(util.inspect(arg, false, null, true)); | ||
return args; | ||
} | ||
exports.default = pr; | ||
}; | ||
//# sourceMappingURL=pr.js.map |
{ | ||
"name": "@transloadit/pr", | ||
"version": "0.3.3", | ||
"version": "0.3.5", | ||
"repository": { | ||
@@ -12,14 +12,11 @@ "type": "git", | ||
"types": "dist/pr.d.ts", | ||
"directories": { | ||
"lib": "dist", | ||
"test": "dist" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: run tests from root\" && exit 1", | ||
"tsc": "tsc --build --clean && tsc --build" | ||
"build": "tsc --build --clean && tsc --build", | ||
"typecheck": "tsc --noEmit", | ||
"test": "tsx --test src/**/*.test.ts", | ||
"test:watch": "tsx --test --watch src/**/*.test.ts" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "412a97c914bd1a8c6d21df01c9f7e18ab19b218a" | ||
} | ||
} |
@@ -0,3 +1,3 @@ | ||
import assert from 'node:assert' | ||
import { describe, test } from 'node:test' | ||
import assert from 'node:assert' | ||
import pr from './pr' | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
import util = require('util') | ||
import util = require('node:util') | ||
@@ -3,0 +3,0 @@ export = function pr<T>(...args: T[]): T[] { |
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
36438
11
33