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

hookney

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hookney - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

hookney.min.js

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

/*! hookney V1.0.1, Copyright (c) 2016-present, Belexos GmbH. MIT licensed. */
/*! hookney V1.1.2, Copyright (c) 2016-present, Belexos GmbH. MIT licensed. */
!function(a){function b(){"use strict";function a(c){var g,h,i,k;if(d(c))for(g in c)c.hasOwnProperty(g)&&(h=c[g],d(h)?a(h):e(h)?a(h):f(h)&&(c[g]=b(j,h)));else if(e(c))for(k=c.length,i=0;i<k;i++)h=c[i],d(h)?a(h):e(h)?a(h):f(h)&&(c[i]=b(j,h))}function b(c,d){const e=new RegExp(c,"gm").exec(d);var g;return e&&(g=i.get(k,e[1]),d=d===e[0]?g:d.replace(e[0],f(g)?g:JSON.stringify(g)),f(d)?d=b(c,d):"object"==typeof d&&a(d)),d}const c=arguments.length,k={};var l;for(l=0;l<c;l++)i.merge(k,arguments[l]);this.json=function(){return k},this.stringify=function(a,b){return JSON.stringify(k,a,b)},this.resolveReferences=function(){return a(k),this},g&&(this.writeFile=function(a,b,c){const d=this;c||(c=b,b={}),b=b||{},b.encoding||(b.encoding="utf8"),h.writeFile(a,this.stringify(b.replacer,b.space),b,function(a){a?c(a,null):c(null,d)})},this.writeFileSync=function(a,b){return b=b||{},b.encoding||(b.encoding="utf8"),h.writeFileSync(a,this.stringify(b.replacer,b.space),b),this})}function c(a){var b,c,d,e,f=/"|(\/\*)|(\*\/)|(\/\/)|\n|\r/g,g=!1,h=!1,i=!1,j=[],k=0,l=0;for(f.lastIndex=0;b=f.exec(a);)d=RegExp.leftContext,e=RegExp.rightContext,h||i||(c=d.substring(l),g||(c=c.replace(/(\n|\r|\s)*/g,"")),j[k++]=c),l=f.lastIndex,'"'!==b[0]||h||i?"/*"!==b[0]||g||h||i?"*/"!==b[0]||g||!h||i?"//"!==b[0]||g||h||i?"\n"!==b[0]&&"\r"!==b[0]||g||h||!i?h||i||/\n|\r|\s/.test(b[0])||(j[k++]=b[0]):i=!1:i=!0:h=!1:h=!0:(c=d.match(/(\\)*$/),g&&c&&c[0].length%2!=0||(g=!g),l--,e=a.substring(l));return j[k++]=e,j.join("")}function d(a){return"object"==typeof a&&!Array.isArray(a)}function e(a){return Array.isArray(a)}function f(a){return"string"==typeof a}const g="object"==typeof module&&module&&"object"==typeof module.exports,h=g?require("fs"):null,i=g?require("lodash"):a._,j="\\$\\{self\\:(.*?)\\}";g?module.exports=b:a.Hookney=b,b.from=function(){const a=arguments.length,c={};var d;for(d=0;d<a;d++)i.merge(c,arguments[d]);return new b(c)},b.fromString=function(a,d){var e={};return a&&f(a)&&a.length&&(a=c(a),e=JSON.parse(a,d)),new b(e)},g&&(b.fromFile=function(a,d,e){e||(e=d,d={}),d=d||{},d.encoding||(d.encoding="utf8"),h.readFile(a,d,function(f,g){if(f)return void e(f,null);g=c(g);try{e(null,b.fromString(g,d.reviver))}catch(f){f.message=a+": "+f.message,e(f,null)}})},b.fromFileSync=function(a,d){var e;d=d||{},d.encoding||(d.encoding="utf8"),e=h.readFileSync(a,d),e=c(e);try{return b.fromString(e,d.reviver)}catch(b){throw b.message=a+": "+b.message,b}})}(this);
{
"name": "hookney",
"version": "1.1.1",
"version": "1.1.2",
"description": "Hookney is a helper around self referencing JSON objects for Node.js and the Browser.",

@@ -50,8 +50,8 @@ "main": "hookney.js",

"devDependencies": {
"grunt": "^1.0.2",
"grunt": "^1.0.4",
"grunt-contrib-uglify": "^2.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-contrib-watch": "^1.1.0",
"jasmine": "^3.1.0",
"nyc": "^11.4.1"
"nyc": "^14.1.1"
}
}

@@ -303,2 +303,5 @@ Hookney

---------
v1.1.2
* Update npm modules.
v1.1.0

@@ -305,0 +308,0 @@ * Support multiple arguments on instantiation.

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