Huge News!Announcing our $40M Series B led by Abstract Ventures.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 0.5.2 to 0.5.3

12

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

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

"dependencies": {
"abl-constants": "git+ssh://github.com/bucket-list/constants.git#v0.1.12",
"abl-lang": "git+ssh://github.com/bucket-list/lang.git#v0.3.1",
"abl-constants": "git+ssh://github.com/bucket-list/constants.git#v0.2.2",
"abl-lang": "git+ssh://github.com/bucket-list/lang.git#v0.3.5",
"debug": "2.2.0",
"escape-string-regexp": "1.0.5",
"lodash": "4.6.1",
"lodash": "4.8.2",
"moment-config-trejgun": "git://github.com/TrejGun/moment-config-trejgun.git#v0.0.4",

@@ -36,4 +36,4 @@ "qs": "6.1.0",

"devDependencies": {
"babel-config-trejgun": "git://github.com/TrejGun/babel-config-trejgun.git#v0.0.7",
"eslint-config-trejgun": "git://github.com/TrejGun/eslint-config-trejgun.git#v0.0.2",
"babel-config-trejgun": "git://github.com/TrejGun/babel-config-trejgun.git#v0.0.8",
"eslint-config-trejgun": "git://github.com/TrejGun/eslint-config-trejgun.git#v0.0.3",
"istanbul": "^1.0.0-alpha",

@@ -40,0 +40,0 @@ "mocha": "2.4.5",

"use strict";
import {merge} from "lodash";
import {map, merge} from "lodash";
import {dateFormat, timeFormat} from "abl-constants/build/date";
import {toDollars, formatUrl} from "./misc";
import {printAA} from "./transaction";
import {getAA} from "./transaction";
import moment from "moment-config-trejgun";

@@ -86,4 +86,4 @@ import {RRule} from "rrule";

booking: {
attendees: printAA(charges.aap, "aap").join("\n\n"),
addons: printAA(charges.addon, "addon").join("\n\n"),
attendees: map(getAA(charges.aap, "aap"), (value, key) => `${key} x ${value}`).join("\n\n"),
addons: map(getAA(charges.addon, "addon"), (value, key) => `${key} x ${value}`).join("\n\n"),
count: charges.aap.length

@@ -90,0 +90,0 @@ },

"use strict";
export function printAA(charges, type) {
export function getAA(charges, type) {
if (["aap", "addon"].indexOf(type) === -1) { // ChargeController.types

@@ -15,3 +15,3 @@ throw new Error("Wrong charge type");

});
return Object.keys(obj).map(key => `${key} x ${obj[key]}`);
return obj;
}
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