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.4.6 to 0.4.7

7

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

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

"dependencies": {
"abl-constants": "git+ssh://github.com/bucket-list/constants.git#v0.1.10",
"abl-constants": "git+ssh://github.com/bucket-list/constants.git#v0.1.12",
"abl-lang": "git+ssh://github.com/bucket-list/lang.git#v0.1.11",

@@ -31,2 +31,3 @@ "debug": "2.2.0",

"lodash": "4.6.1",
"moment-config-trejgun": "git://github.com/TrejGun/moment-config-trejgun.git#v0.0.4",
"qs": "6.1.0",

@@ -51,3 +52,3 @@ "rrule": "2.1.0"

"release": "release () { npm run pull && if [ -z $1 ]; then npm version patch; else npm version $1; fi && npm run push; }; release",
"lint": "eslint source/*",
"lint": "eslint source/* test/* --fix --quiet",
"test": "NODE_ENV=${NODE_ENV:=test} node_modules/.bin/babel-node node_modules/.bin/_mocha",

@@ -54,0 +55,0 @@ "coverage": "NODE_ENV=${NODE_ENV:=test} babel-node node_modules/istanbul/lib/cli cover --report text --report html node_modules/.bin/_mocha test/utils"

"use strict";
export default {
[process.env.NODE_ENV]: {
server: {
protocol: process.env.ABL_SERVER_PROTOCOL,
hostname: process.env.ABL_SERVER_HOSTNAME,
port: process.env.ABL_SERVER_PORT
}
}
[process.env.NODE_ENV]: {
server: {
protocol: process.env.ABL_SERVER_PROTOCOL,
hostname: process.env.ABL_SERVER_HOSTNAME,
port: process.env.ABL_SERVER_PORT
}
},
test: {
server: {
protocol: "https",
hostname: "localhost",
port: 443
}
}
};
"use strict";
import moment from "abl-constants/build/moment";
import moment from "moment-config-trejgun";
import {googleFormat, ISO_8601} from "abl-constants/build/date";

@@ -24,3 +24,3 @@ import {isType} from "./misc";

case isType(date, "Date"):
return moment(date);
return moment(date).toDate();
case isType(date, "String"):

@@ -31,4 +31,4 @@ return moment.tz(date, ISO_8601, "UTC");

default:
return moment(null);
return moment(0 / 0).toDate();
}
}
}

@@ -7,3 +7,3 @@ "use strict";

import {printAA} from "./transaction";
import moment from "abl-constants/build/moment";
import moment from "moment-config-trejgun";
import {RRule} from "rrule";

@@ -10,0 +10,0 @@

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