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

material

Package Overview
Dependencies
Maintainers
0
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material - npm Package Compare versions

Comparing version 0.9.13 to 0.9.14

2

package.json
{
"name": "material",
"version": "0.9.13",
"version": "0.9.14",
"description": "A lightweight implementation of Material Design Components for the web - ES6",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -215,18 +215,3 @@ export default {

return route
},
storeData (list, more) {
console.log('storeData', list.length, more)
if (more !== true) {
this.dataList = []
}
// console.log('storeData', this.dataStore)
this.dataStore = this.dataStore || {}
for (let i = 0; i < list.length; i++) {
this.dataList.push(list[i][this.dataId])
this.dataStore[list[i][this.dataId]] = list[i]
}
}
}

@@ -50,3 +50,3 @@ // based on https://sergimansilla.com/blog/virtual-scrolling/

// node.innerHTML = ''
node.innerHTML = ''
node.appendChild(fragment)

@@ -53,0 +53,0 @@

@@ -47,3 +47,8 @@ import clone from '../module/clone'

getInfoById (id) {
return clone(this.dataStore[id])
// console.log('getInfoById', this.dataStore)
let info = null
if (this.dataStore) info = clone(this.dataStore[id])
return info
},

@@ -50,0 +55,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