@transloadit/prd
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -1,1 +0,2 @@ | ||
export default function prd<T>(...args: T[]): void; | ||
declare const _default: <T>(...args: T[]) => void; | ||
export = _default; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const pr_1 = __importDefault(require("@transloadit/pr")); | ||
function prd(...args) { | ||
(0, pr_1.default)(...args); | ||
const pr = require("@transloadit/pr"); | ||
module.exports = function prd(...args) { | ||
pr(...args); | ||
const err = new Error('Halt via prd'); | ||
console.error(err); | ||
process.exit(1); | ||
} | ||
exports.default = prd; | ||
}; | ||
//# sourceMappingURL=prd.js.map |
{ | ||
"name": "@transloadit/prd", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"repository": { | ||
@@ -12,17 +12,14 @@ "type": "git", | ||
"types": "dist/prd.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" | ||
}, | ||
"dependencies": { | ||
"@transloadit/pr": "^0.3.3" | ||
"@transloadit/pr": "^0.3.4" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "412a97c914bd1a8c6d21df01c9f7e18ab19b218a" | ||
} | ||
} |
@@ -1,4 +0,3 @@ | ||
/* eslint-disable @typescript-eslint/no-empty-function */ | ||
import { mock, test, describe } from 'node:test' | ||
import assert from 'node:assert' | ||
import { describe, mock, test } from 'node:test' | ||
import prd from './prd' | ||
@@ -5,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
36860
11
41
Updated@transloadit/pr@^0.3.4