New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zambezi/grid

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zambezi/grid - npm Package Compare versions

Comparing version 0.14.0 to 0.14.1-dataset-ie-support.1

src/dataset.js

2

package.json
{
"name": "@zambezi/grid",
"version": "0.14.0",
"version": "0.14.1-dataset-ie-support.1",
"description": "D3 component for drawing financial grids.",

@@ -5,0 +5,0 @@ "keywords": [

import { appendFromTemplate, selectionChanged, rebind, forward } from '@zambezi/d3-utils'
import { dataset } from './dataset'
import { dispatch as createDispatch } from 'd3-dispatch'

@@ -17,3 +18,2 @@ import { property, batch } from '@zambezi/fun'

, isLast = property('isLast')
, rowIndexMatch = /(\bgrid-row-index-\d+\b|$)/

@@ -97,2 +97,3 @@ export function createCells() {

.each(updateRow)
.call(dataset, 'gridRowIndex', d => d.index)
.select(

@@ -161,3 +162,2 @@ changed.key(

this.dataset.gridRowIndex = index
sheet(selector, { top: top(d) })

@@ -203,1 +203,2 @@ }

}

@@ -7,7 +7,8 @@ import { select } from 'd3-selection'

if (target.attr('id')) return
target.attr(
'id'
, this.dataset.componentId || uniqueId('gen-grid-')
, (this.dataset && this.dataset.componentId)
|| target.attr('data-component-id')
|| uniqueId('gen-grid-')
)
}

@@ -0,5 +1,6 @@

import { dataset } from './dataset'
import { isFunction } from 'underscore'
import { property } from '@zambezi/fun'
import { select } from 'd3-selection'
import { selectionChanged } from '@zambezi/d3-utils'
import { isFunction } from 'underscore'
import { wrap } from './wrap-row'

@@ -48,3 +49,3 @@

.select(rowNestedLevelChanged)
.each(() => this.dataset.nestLevel = d.row.nestLevel)
.call(dataset, 'nestLevel', d.row.nestLevel)
}

@@ -51,0 +52,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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