Socket
Socket
Sign inDemoInstall

js-awe

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-awe - npm Package Compare versions

Comparing version 1.0.31 to 1.0.32

2

package.json
{
"name": "js-awe",
"version": "1.0.31",
"version": "1.0.32",
"homepage": "https://github.com/josuamanuel/js-awe",

@@ -5,0 +5,0 @@ "author": "josuamanuel@hotmail.com",

@@ -164,4 +164,8 @@ # js-awe

For you to explore... or help with documentation.
For you to explore... Don't hesitate to explore the code: table.js, sanitizer.js, jsUtils.js...
Most of the functions has TS types. But more documentation will be needed. So if you want to help others:
please PULL REQUEST!!! with your changes.
## Generating types

@@ -168,0 +172,0 @@

import { arraySorter, pushUniqueKeyOrChange, sorterByPaths, pushUniqueKey, CustomError, pushAt } from './jsUtils.js';
import { groupByWithCalc, R } from './ramdaExt.js';
import { groupByWithCalc} from './ramdaExt.js';
import pipe from 'ramda/src/pipe'
import map from 'ramda/src/map'
import sort from 'ramda/src/sort'
import { Table, consoleTable } from './table/table.js'

@@ -307,3 +311,3 @@ import { Text } from './table/components/text.js'

R.pipe(
pipe(
groupByWithCalc(

@@ -313,3 +317,3 @@ (row) => JSON.stringify(row.runningEvents.sort(arraySorter())),

),
R.map(row => ({ ...row, elapseMs: Math.floor(row.elapseMs), percentage: Number(row.percentage.toFixed(2)) })),
map(row => ({ ...row, elapseMs: Math.floor(row.elapseMs), percentage: Number(row.percentage.toFixed(2)) })),
(coincidingEvents) => {

@@ -362,3 +366,3 @@ console.log('')

chronoReport()
R.pipe(
pipe(
//RE.RLog('0-->: '),

@@ -373,3 +377,3 @@ formatReportAndReturnInputParam,

//RE.RLog('3-->: '),
R.sort(sorterByPaths('range.start')),
sort(sorterByPaths('range.start')),
reportListOfNameRanges,

@@ -376,0 +380,0 @@ //RE.RLog('4-->: '),

import { arraySorter } from '../../jsUtils.js'
import { R } from '../../ramdaExt.js'
import { putCenteredValueAtPosIfFit, putValueAtPos }from '../tableUtils.js'

@@ -87,3 +86,3 @@

[...new Set(
data.flatMap(R.identity).reduce(
data.flatMap(el => el).reduce(
(scalePoints, point) =>

@@ -90,0 +89,0 @@ [...scalePoints, point.start, point.end],

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

import { R } from './../ramdaExt.js'
import { Text } from './components/text.js'

@@ -115,3 +114,3 @@

function draw() {
listOfColumns.forEach((column) => column.load(R.pluck(column.id)(tableData)))
listOfColumns.forEach((column) => column.load(tableData.map(row => row[column.id])))

@@ -118,0 +117,0 @@ if(listOfColumns.length === 0) return ('[]')

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