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

clues

Package Overview
Dependencies
Maintainers
2
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clues - npm Package Compare versions

Comparing version 3.3.7 to 3.3.8

2

package.json
{
"name": "clues",
"version": "3.3.7",
"version": "3.3.8",
"description": "Lightweight logic tree solver using promises.",

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

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

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Test Coverage][circle-image]][circle-url]
**clues.js** is a lean-mean-promisified-getter-machine that crunches through any javascript objects, including complex trees, functions, values and promises. Clues consists of a single getter function (just over 100 loc) that dynamically resolves dependency trees and memoizes resolutions (lets call them derived facts) along the way.

@@ -592,1 +597,8 @@

The main reason why a `$root` is not set automatically by `clues` is that there is no real concept of a top-level object. You can run `clues` on any subsection of a tree without knowing anything about possible parents (which could be multiple)
[npm-image]: https://img.shields.io/npm/v/clues.svg
[npm-url]: https://npmjs.org/package/clues
[circle-image]: https://circleci.com/gh/ZJONSSON/clues.png?style=shield
[circle-url]: https://circleci.com/gh/ZJONSSON/clues/tree/master
[downloads-image]: https://img.shields.io/npm/dm/clues.svg
[downloads-url]: https://npmjs.org/package/clues

@@ -41,5 +41,8 @@ var clues = require('../clues'),

});
if (e.stack && !options.debug) {
err.message = 'Internal Error';
delete err.stack;
if (e.stack) {
err.status = 500;
if (!options.debug) {
err.message = 'Internal Error';
delete err.stack;
}
}

@@ -96,3 +99,3 @@ return err;

if (options.single) {
_res.send(d.error ? 500 : 200, stringify(d,pretty,options.debug)+'\n');
_res.send(d.error ? (d.status||400) : 200, stringify(d,pretty,options.debug)+'\n');
_res.write = noop;

@@ -99,0 +102,0 @@ _res.end = noop;

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