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

data-footstone

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-footstone - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

lib/arrayTool.js

18

index.js

@@ -0,7 +1,21 @@

import arrayTool from './lib/arrayTool.js'
import graphTool from './lib/graphTool.js'
import hashTable from './lib/hashTable.js'
import linkedListTool from './lib/linkedListTool.js'
import promiseTool from './lib/promiseTool.js'
import prototypeExtend from './lib/prototypeExtend.js'
import queueTool from './lib/queueTool.js'
import stackTool from './lib/stackTool.js'
import queueTool from './lib/queueTool.js'
import treeTool from './lib/treeTool.js'
export default {
arrayTool,
graphTool,
hashTable,
linkedListTool,
promiseTool,
prototypeExtend,
queueTool,
stackTool,
queueTool
treeTool
}

4

lib/queueTool.js

@@ -12,3 +12,3 @@ // 与队列相关的工具方法

dequeue () {
this.items.shift()
return this.items.shift()
}

@@ -28,3 +28,3 @@ getAll () {

isEmpty () {
return this.size === 0
return this.size() === 0
}

@@ -31,0 +31,0 @@ clear () {

{
"name": "data-footstone",
"version": "0.0.0",
"version": "0.0.1",
"description": "基本的数据结构。",

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

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