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

couchdb-eval

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdb-eval - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

10

index.js

@@ -19,2 +19,4 @@ /*

var PouchPluginError = require("pouchdb-plugin-error");
exports.evaluate = function (requireContext, extraVars, program) {

@@ -74,7 +76,7 @@ /*jshint evil:true, unused: false */

} catch (e) {
throw {
throw new PouchPluginError({
"name": "compilation_error",
"status": 500,
"message": "Expression does not eval to a function. " + program
};
});
}

@@ -85,7 +87,7 @@ return func;

exports.wrapExecutionError = function (e) {
return {
return new PouchPluginError({
name: e.name,
message: e.toString() + "\n\n" + e.stack,
status: 500
};
});
};

13

package.json
{
"name": "couchdb-eval",
"main": "index.js",
"version": "1.0.2",
"version": "1.0.3",
"description": "Compiles a piece of code to a function object, providing a CouchDB-like JavaScript context.",

@@ -11,5 +11,14 @@ "repository": {

"bugs": "https://bugs.launchpad.net/python-pouchdb",
"keywords": ["pouch", "pouchdb", "couch", "couchdb", "eval"],
"keywords": [
"pouch",
"pouchdb",
"couch",
"couchdb",
"eval"
],
"license": "Apache-2.0",
"author": "Marten de Vries",
"dependencies": {
"pouchdb-plugin-error": "^0.2.0"
},
"devDependencies": {

@@ -16,0 +25,0 @@ "es3ify": "^0.1.3"

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