New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

abl-utils

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abl-utils - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

6

package.json
{
"name": "abl-utils",
"title": "ABL - utils",
"version": "1.0.6",
"version": "1.0.7",
"license": "MIT",

@@ -25,4 +25,4 @@ "description": "description",

"dependencies": {
"abl-constants": "git+ssh://github.com/bucket-list/constants.git#v0.3.5",
"abl-lang": "git+ssh://github.com/bucket-list/lang.git#v0.3.15",
"abl-constants": "git+ssh://github.com/bucket-list/constants.git#v0.3.7",
"abl-lang": "git+ssh://github.com/bucket-list/lang.git#v0.3.17",
"debug": "2.2.0",

@@ -29,0 +29,0 @@ "lodash": "4.11.2",

"use strict";
import {translate} from "abl-lang";
import {tpl} from "./misc";

@@ -13,4 +14,4 @@

export function makeError(key, user, code = 400) {
return _makeError(translate(key, user), code);
export function makeError(key, user, code = 400, data = {}) {
return _makeError(tpl(translate(key, user), data), code);
}
"use strict";
import configs from "./configs/config";
import {getObject} from "abl-lang/build/index";

@@ -26,1 +27,5 @@

}
export function tpl(template, data) {
return template.replace(/(\$\{([^\{\}]+)\})/g, ($0, $1, $2) => getObject($2, data));
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc