Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atombender/hydrant-api

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atombender/hydrant-api - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

10

dist/dimensions.js

@@ -19,3 +19,3 @@ 'use strict';

var _t11eUtilsHash_utils = require('t11e-utils/hash_utils');
var _atombenderUtils = require('@atombender/utils');

@@ -43,3 +43,3 @@ var _uids = require('./uids');

} else {
return (0, _t11eUtilsHash_utils.computeStringHash)(this.value.toString());
return (0, _atombenderUtils.computeStringHash)(this.value.toString());
}

@@ -130,3 +130,3 @@ } else {

value: function hashCode() {
return (0, _t11eUtilsHash_utils.computeStringHash)(this.dimension) ^ this.categoryValue.hashCode() ^ (0, _t11eUtilsHash_utils.computeStringHash)(this.functionName);
return (0, _atombenderUtils.computeStringHash)(this.dimension) ^ this.categoryValue.hashCode() ^ (0, _atombenderUtils.computeStringHash)(this.functionName);
}

@@ -217,3 +217,3 @@ }, {

value.hashCode = (function () {
return (0, _t11eUtilsHash_utils.computeStringHash)(this.unix().toString());
return (0, _atombenderUtils.computeStringHash)(this.unix().toString());
}).bind(value);

@@ -237,3 +237,3 @@ value.equals = (function (other) {

value: function hashCode() {
return (0, _t11eUtilsHash_utils.computeStringHash)(this.id);
return (0, _atombenderUtils.computeStringHash)(this.id);
}

@@ -240,0 +240,0 @@ }, {

@@ -15,3 +15,3 @@ 'use strict';

var _t11eUtilsArray_utils = require('t11e-utils/array_utils');
var _atombenderUtils = require('@atombender/utils');

@@ -93,3 +93,3 @@ var GroupBy = (function () {

function check(item, items) {
var idx = (0, _t11eUtilsArray_utils.findIndex)(items, function (g) {
var idx = (0, _atombenderUtils.findIndex)(items, function (g) {
return g.dimension.id === item.dimension.id;

@@ -102,3 +102,3 @@ });

} else if (items[i].mode === 'row') {
var j = (0, _t11eUtilsArray_utils.findIndex)(items, function (g) {
var j = (0, _atombenderUtils.findIndex)(items, function (g) {
return g.mode === 'nest';

@@ -105,0 +105,0 @@ });

@@ -11,3 +11,3 @@ 'use strict';

var _t11eUtilsHash_utils = require('t11e-utils/hash_utils');
var _atombenderUtils = require('@atombender/utils');

@@ -28,3 +28,3 @@ var _dimensions = require('./dimensions');

value: function hashCode() {
return (0, _t11eUtilsHash_utils.computeStringHash)(this.id);
return (0, _atombenderUtils.computeStringHash)(this.id);
}

@@ -64,3 +64,3 @@ }, {

value: function hashCode() {
return (0, _t11eUtilsHash_utils.computeStringHash)(this.id);
return (0, _atombenderUtils.computeStringHash)(this.id);
}

@@ -67,0 +67,0 @@ }, {

@@ -19,3 +19,3 @@ 'use strict';

var _t11eUtilsMoment_utils = require('t11e-utils/moment_utils');
var _atombenderUtils = require('@atombender/utils');

@@ -79,3 +79,3 @@ var Timeframe = (function () {

toRange: function toRange(date) {
return (0, _t11eUtilsMoment_utils.expandDateToRange)(date, 'year');
return (0, _atombenderUtils.expandDateToRange)(date, 'year');
}

@@ -87,3 +87,3 @@ }, {

toRange: function toRange(date) {
return (0, _t11eUtilsMoment_utils.expandDateToRange)(date, 'month');
return (0, _atombenderUtils.expandDateToRange)(date, 'month');
}

@@ -95,3 +95,3 @@ }, {

toRange: function toRange(date) {
return (0, _t11eUtilsMoment_utils.expandDateToRange)(date, 'week');
return (0, _atombenderUtils.expandDateToRange)(date, 'week');
}

@@ -103,3 +103,3 @@ }, {

toRange: function toRange(date) {
return (0, _t11eUtilsMoment_utils.expandDateToRange)(date, 'day');
return (0, _atombenderUtils.expandDateToRange)(date, 'day');
}

@@ -111,5 +111,5 @@ }, {

toRange: function toRange(date) {
return (0, _t11eUtilsMoment_utils.expandDateToRange)(date, 'hour');
return (0, _atombenderUtils.expandDateToRange)(date, 'hour');
}
}];
exports.TIME_INTERVALS = TIME_INTERVALS;

@@ -19,3 +19,3 @@ 'use strict';

var _t11eUtilsHash_utils = require('t11e-utils/hash_utils');
var _atombenderUtils = require('@atombender/utils');

@@ -80,3 +80,3 @@ var UID_REGEXP = /^(?:([^:]+):)?([^\$]+)(?:\$(\d+))?$/;

value: function hashCode() {
return (0, _t11eUtilsHash_utils.computeStringHash)(this.toString());
return (0, _atombenderUtils.computeStringHash)(this.toString());
}

@@ -83,0 +83,0 @@ }, {

{
"name": "@atombender/hydrant-api",
"version": "0.0.9",
"version": "0.0.10",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

'use strict';
import moment from 'moment';
import {computeStringHash} from 't11e-utils/hash_utils';
import {computeStringHash} from '@atombender/utils';

@@ -6,0 +6,0 @@ import {Uid} from './uids';

'use strict';
import {clone, extend, every, zip, isEqual} from 'underscore';
import {findIndex} from 't11e-utils/array_utils';
import {findIndex} from '@atombender/utils';

@@ -6,0 +6,0 @@ export class GroupBy {

'use strict';
import {computeStringHash} from 't11e-utils/hash_utils';
import {computeStringHash} from '@atombender/utils';

@@ -5,0 +5,0 @@ import {TIME_DIMENSION} from './dimensions';

@@ -5,3 +5,3 @@ 'use strict';

import 'moment-range';
import {expandDateToRange} from 't11e-utils/moment_utils';
import {expandDateToRange} from '@atombender/utils';

@@ -8,0 +8,0 @@ export class Timeframe {

'use strict';
import {computeStringHash} from 't11e-utils/hash_utils';
import {computeStringHash} from '@atombender/utils';

@@ -5,0 +5,0 @@ const UID_REGEXP = /^(?:([^:]+):)?([^\$]+)(?:\$(\d+))?$/;

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