Socket
Socket
Sign inDemoInstall

collections

Package Overview
Dependencies
Maintainers
6
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collections - npm Package Compare versions

Comparing version 5.0.6 to 5.0.7

.jshintignore

8

collections.js

@@ -6,2 +6,8 @@

/*jshint evil:true */
// reassigning causes eval to not use lexical scope.
var globalEval = eval,
global = globalEval('this');
/*jshint evil:false */
global.List = require("./list");

@@ -11,3 +17,3 @@ global.Set = require("./set");

global.MultiMap = require("./multi-map");
global.WeakMap = require("weak-map");
global.WeakMap = require("./weak-map");
global.SortedSet = require("./sorted-set");

@@ -14,0 +20,0 @@ global.SortedMap = require("./sorted-map");

2

listen/map-changes.js
"use strict";
var WeakMap = require("weak-map"),
var WeakMap = require("../weak-map"),
Map = require("../_map"),

@@ -5,0 +5,0 @@ ChangeDescriptor = require("./change-descriptor"),

@@ -8,3 +8,3 @@ "use strict";

var WeakMap = require("weak-map"),
var WeakMap = require("../weak-map"),
Map = require("../_map"),

@@ -11,0 +11,0 @@ ChangeDescriptor = require("./change-descriptor"),

{
"name": "collections",
"version": "5.0.6",
"version": "5.0.7",
"description": "data structures with idiomatic JavaScript collection interfaces",

@@ -25,2 +25,3 @@ "homepage": "http://www.collectionsjs.com",

},
"license": "BSD-3-Clause",
"licenses": [

@@ -40,10 +41,26 @@ {

"devDependencies": {
"jasmine-node": "montagestudio/jasmine-node#master",
"istanbul": "*",
"opener": "*"
"montage-testing": "git://github.com/montagejs/montage-testing#master",
"jasmine-console-reporter": "^1.2.7",
"jasmine-core": "^2.5.2",
"karma": "^1.5.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.1",
"karma-jasmine": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.2",
"mop-integration": "git://github.com/montagejs/mop-integration.git#master",
"concurrently": "^3.4.0",
"http-server": "^0.9.0",
"open": "0.0.5"
},
"scripts": {
"test": "jasmine-node spec",
"cover": "istanbul cover node_modules/jasmine-node/bin/jasmine-node spec && istanbul report html && opener coverage/index.html"
"test": "node test/run-node.js",
"integration": "mop-integration",
"test:karma": "karma start --no-auto-watch --single-run",
"test:karma-firefox": "karma start --no-auto-watch --single-run --browsers=Firefox",
"test:karma-chrome": "karma start --no-auto-watch --single-run --browsers=Chrome",
"test:karma-debug": "karma start --auto-watch --no-single-run --browsers=PhantomJS_debug",
"test:karma-dev": "karma start --auto-watch --no-single-run --capture",
"test:jasmine": "concurrently \"http-server -a localhost -p 8085\" \"open http://localhost:8085/test/run.html\""
}
}

@@ -1,5 +0,8 @@

[![Build Status](https://travis-ci.org/montagejs/collections.png?branch=master)](http://travis-ci.org/montagejs/collections)
# Collections
[![Build Status](https://travis-ci.org/montagejs/collections.png?branch=master)](http://travis-ci.org/montagejs/collections)
[![Analytics](https://ga-beacon.appspot.com/UA-51771141-2/collections/readme)](https://github.com/igrigorik/ga-beacon)
This package contains JavaScript implementations of common data

@@ -9,4 +12,4 @@ structures with idiomatic iterfaces, including extensions for Array and

You can use these Node Packaged Modules with Node.js, [Browserify][],
[Mr][], or any compatible CommonJS module loader. Using a module loader
You can use these Node Packaged Modules with Node.js, [Browserify](https://github.com/substack/node-browserify),
[Mr](https://github.com/montagejs/mr), or any compatible CommonJS module loader. Using a module loader
or bundler when using Collections in web browsers has the advantage of

@@ -22,9 +25,13 @@ only incorporating the modules you need. However, you can just embed

[Browserify]: https://github.com/substack/node-browserify
[Mr]: https://github.com/montagejs/mr
Documentation can be found at http://collectionsjs.com which in turn can be
updated at https://github.com/montagejs/collectionsjs.com.
[![Analytics](https://ga-beacon.appspot.com/UA-51771141-2/collections/readme)](https://github.com/igrigorik/ga-beacon)
## Maintenance
Tests are in the `test` directory. Use `npm test` to run the tests in
NodeJS or open `test/run.html` in a browser.
To run the tests in your browser, simply use `npm run test:jasmine`.
To run the tests using Karma use `npm run test:karma` and for continious tests run with file changes detection `npm run test:karma-dev`. Finally to open a remote debug console on karma use `npm run test:karma-debug`.

@@ -13,3 +13,3 @@ "use strict";

var GenericOrder = require("./generic-order");
var WeakMap = require("weak-map");
var WeakMap = require("./weak-map");

@@ -16,0 +16,0 @@ module.exports = Array;

"use strict";
var WeakMap = require("weak-map");
var WeakMap = require("./weak-map");

@@ -5,0 +5,0 @@ module.exports = Object;

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

module.exports = (global.WeakMap !== void 0) ? global.WeakMap : require("weak-map");
module.exports = (typeof WeakMap !== 'undefined') ? WeakMap : require("weak-map");
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