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

adts

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adts - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

adts.d.ts

@@ -112,2 +112,6 @@ declare module "adts" {

/**
Returns the contents of the stack, from bottom to top.
*/
getElements(): T[];
/**
Return the size (length) of the stack.

@@ -114,0 +118,0 @@ */

@@ -191,2 +191,3 @@ /**

var prototype_set = sets[0];
// use a for loop to allow immediate return
for (var i = 1, other; (other = sets[i]) !== undefined; i++) {

@@ -263,2 +264,8 @@ var prototype_other_equal = keysEqual(prototype_set._element_object, other._element_object);

}
/**
Returns the contents of the stack, from bottom to top.
*/
Stack.prototype.getElements = function () {
return this.elements;
};
Object.defineProperty(Stack.prototype, "size", {

@@ -265,0 +272,0 @@ /**

@@ -290,2 +290,8 @@ /**

/**
Returns the contents of the stack, from bottom to top.
*/
getElements(): T[] {
return this.elements;
}
/**
Return the size (length) of the stack.

@@ -292,0 +298,0 @@ */

7

package.json
{
"name": "adts",
"version": "0.1.3",
"version": "0.1.4",
"description": "Abstract Data Types in TypeScript",

@@ -24,9 +24,8 @@ "keywords": [

"devDependencies": {
"TypeScript": "1.3.0",
"mocha": "~2.1.0"
"TypeScript": "*",
"mocha": "*"
},
"scripts": {
"prepublish": "make",
"test": "mocha test"
}
}
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