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

@keen.io/query

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keen.io/query - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

dist/index.esm.js

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.2.2](https://github.com/keen/keen/compare/@keen.io/query@1.2.1...@keen.io/query@1.2.2) (2022-05-12)
**Note:** Version bump only for package @keen.io/query
## [1.2.1](https://github.com/keen/keen/compare/@keen.io/query@1.2.0...@keen.io/query@1.2.1) (2022-05-12)

@@ -8,0 +16,0 @@

18

dist/index.js

@@ -1,2 +0,16 @@

import { isCustomInterval, extractGroupBySettings } from './utils';
export { isCustomInterval, extractGroupBySettings };
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var isCustomInterval = function (interval) {
return interval.includes('every');
};
var extractGroupSettings = function (groupBy) {
if (typeof groupBy === 'string') return [groupBy];
return groupBy;
};
exports.extractGroupBySettings = extractGroupSettings;
exports.isCustomInterval = isCustomInterval;
//# sourceMappingURL=index.js.map

9

package.json
{
"name": "@keen.io/query",
"version": "1.2.1",
"version": "1.2.2",
"description": "Keen Query utilities",

@@ -24,5 +24,4 @@ "author": "Keen.IO <team@keen.io> (https://keen.io/)",

"scripts": {
"test": "jest",
"prebuild": "rimraf dist && rimraf tsconfig.tsbuildinfo",
"build": "tsc"
"prebuild": "rimraf dist typings tsconfig.tsbuildinfo",
"build": "npx rollup --configPlugin @rollup/plugin-typescript --config rollup.config.ts"
},

@@ -40,3 +39,3 @@ "devDependencies": {

},
"gitHead": "cde44b2297bfa7adeb56b8b05e219ca2702d84a5"
"gitHead": "eedf8f49c75c7df516730ae6c77c2a111976245d"
}

@@ -0,0 +0,0 @@ import { Query, OrderBy, OrderByProperty, Filter, FilterOperator, GeoCoordinates, Step, Direction, Intervals, Timeframe, Analysis, Timezones } from './types';

@@ -0,0 +0,0 @@ export declare type Analysis = 'sum' | 'average' | 'count' | 'count_unique' | 'maximum' | 'minimum' | 'median' | 'percentile' | 'standard_deviation' | 'funnel' | 'extraction' | 'select_unique';

declare const extractGroupSettings: (groupBy: string | string[]) => string[];
export default extractGroupSettings;
import extractGroupSettings from './extract-group-settings';
export default extractGroupSettings;
import isCustomInterval from './is-custom-interval';
import extractGroupBySettings from './extract-group-settings';
export { isCustomInterval, extractGroupBySettings };
import { Intervals } from '../types';
declare const isCustomInterval: (interval: string | Intervals) => boolean;
export default isCustomInterval;
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