bowhead-js
Advanced tools
Comparing version 5.0.0 to 6.0.0
@@ -1,11 +0,7 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.muteExceptions = void 0; | ||
const regex = /{([0-9]+)(|[a-z|]+)?}/g; | ||
let isMuted = true; | ||
function muteExceptions(val) { | ||
export function muteExceptions(val) { | ||
isMuted = val; | ||
} | ||
exports.muteExceptions = muteExceptions; | ||
function format(str, ...args) { | ||
export default function format(str, ...args) { | ||
if (!str) { | ||
@@ -64,3 +60,2 @@ return str; | ||
} | ||
exports.default = format; | ||
//# sourceMappingURL=main.js.map |
{ | ||
"name": "bowhead-js", | ||
"version": "5.0.0", | ||
"version": "6.0.0", | ||
"description": "Tiny string interpolation library", | ||
"main": "dist/main.js", | ||
"type": "module", | ||
"exports": "./dist/main.js", | ||
"types": "dist/main.d.ts", | ||
@@ -23,3 +24,3 @@ "author": "Mgenware (https://github.com/mgenware)", | ||
"engines": { | ||
"node": ">=10.0.0" | ||
"node": ">=12.0.0" | ||
}, | ||
@@ -33,15 +34,17 @@ "files": [ | ||
"devDependencies": { | ||
"@types/mocha": "^8.0.3", | ||
"@types/node": "^14.14.7", | ||
"@typescript-eslint/eslint-plugin": "^4.7.0", | ||
"@typescript-eslint/parser": "^4.7.0", | ||
"daizong": "^0.11.0", | ||
"eslint": "^7.13.0", | ||
"@types/mocha": "^8.2.0", | ||
"@types/node": "^14.14.22", | ||
"@typescript-eslint/eslint-plugin": "^4.14.2", | ||
"@typescript-eslint/parser": "^4.14.2", | ||
"daizong": "^0.12.2", | ||
"eslint": "^7.19.0", | ||
"eslint-config-airbnb-typescript-lite": "^12.0.0", | ||
"eslint-config-mgenware": "^0.0.5", | ||
"eslint-plugin-import": "^2.22.1", | ||
"mgenware-tsconfig-node": "^14.0.2", | ||
"mocha": "^8.2.1", | ||
"source-map-support": "^0.5.19", | ||
"typescript": "^4.0.5" | ||
"typescript": "^4.1.3" | ||
}, | ||
"dependencies": {} | ||
} |
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
Yes
8168
13
61