Comparing version 2.0.0 to 2.0.1
@@ -24,3 +24,3 @@ /** | ||
/*! (c) 2020 Andrea Giammarchi, (ISC) */ | ||
var Flatted=function(n){"use strict";var t=JSON.parse,r=JSON.stringify,e=Object.keys,u=String,i="string",c="object",f=function(n,t){return t},a=function(n){return n instanceof u?u(n):n},o=function(n,t){return typeof t===i?new u(t):t},s=function(n,t,r){var e=u(t.push(r)-1);return n.set(r,e),e};return n.parse=function(n,r){var i=t(n,o).map(a),s=i[0],l=r||f,p=typeof s===c&&s?function n(t,r,i,f){return e(i).reduce((function(e,i){var a=e[i];if(a instanceof u){var o=t[a];typeof o!==c||r.has(o)?e[i]=f.call(e,i,o):(r.add(o),e[i]=f.call(e,i,n(t,r,o,f)))}else e[i]=f.call(e,i,a);return e}),i)}(i,new Set,s,l):s;return l.call({"":p},"",p)},n.stringify=function(n,t,e){for(var u=t&&typeof t===c?function(n,r){return""===n||-1<t.indexOf(n)?r:void 0}:t||f,a=new Map,o=[],l=[],p=+s(a,o,u.call({"":n},"",n)),v=!p;p<o.length;)v=!0,l[p]=r(o[p++],y,e);return"["+l.join(",")+"]";function y(n,t){if(v)return v=!v,t;var r=u.call(this,n,t);switch(typeof r){case c:if(null===r)return r;case i:return a.get(r)||s(a,o,r)}return r}},n}({}); | ||
var Flatted=function(n){"use strict";var t=JSON.parse,r=JSON.stringify,e=Object.keys,a=String,u="string",f={},i="object",c=function(n,t){return t},l=function(n){return n instanceof a?a(n):n},o=function(n,t){return typeof t===u?new a(t):t},s=function(n,t,r){var e=a(t.push(r)-1);return n.set(r,e),e};return n.parse=function(n,r){var u=t(n,o).map(l),s=u[0],p=r||c,v=typeof s===i&&s?function n(t,r,u,c){for(var l=[],o=e(u),s=o.length,p=0;p<s;p++){var v=o[p],y=u[v];if(y instanceof a){var g=t[y];typeof g!==i||r.has(g)?u[v]=c.call(u,v,g):(r.add(g),u[v]=f,l.push({k:v,a:[t,r,g,c]}))}else u[v]!==f&&(u[v]=c.call(u,v,y))}for(var h=l.length,d=0;d<h;d++){var w=l[d],O=w.k,S=w.a;u[O]=c.call(u,O,n.apply(null,S))}return u}(u,new Set,s,p):s;return p.call({"":v},"",v)},n.stringify=function(n,t,e){for(var a=t&&typeof t===i?function(n,r){return""===n||-1<t.indexOf(n)?r:void 0}:t||c,f=new Map,l=[],o=[],p=+s(f,l,a.call({"":n},"",n)),v=!p;p<l.length;)v=!0,o[p]=r(l[p++],y,e);return"["+o.join(",")+"]";function y(n,t){if(v)return v=!v,t;var r=a.call(this,n,t);switch(typeof r){case i:if(null===r)return r;case u:return f.get(r)||s(f,l,r)}return r}},n}({}); | ||
@@ -27,0 +27,0 @@ /*! (C) Postdot Technologies, Inc (Apache-2.0) */ |
@@ -138,8 +138,7 @@ const EventEmitter = require('events'), | ||
// we bridge this event emitter with the context (bridge usually creates the context as well) | ||
bridge(this, { | ||
bridge(this, Object.assign({ // eslint-disable-line prefer-object-spread | ||
bootCode: E, | ||
bootTimeout: DEFAULT_BOOT_TIMEOUT, | ||
dispatchTimeout: DEFAULT_DISPATCH_TIMEOUT, | ||
...options | ||
}, (err) => { | ||
dispatchTimeout: DEFAULT_DISPATCH_TIMEOUT | ||
}, options), (err) => { | ||
if (err) { | ||
@@ -146,0 +145,0 @@ return done(err); |
{ | ||
"name": "uvm", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Universal Virtual Machine for Node and Browser", | ||
@@ -35,3 +35,3 @@ "author": "Postman Inc.", | ||
"dependencies": { | ||
"flatted": "3.0.5" | ||
"flatted": "3.1.0" | ||
}, | ||
@@ -45,4 +45,4 @@ "devDependencies": { | ||
"editorconfig": "^0.15.3", | ||
"eslint": "^7.9.0", | ||
"eslint-plugin-jsdoc": "^30.5.1", | ||
"eslint": "^7.10.0", | ||
"eslint-plugin-jsdoc": "^30.6.3", | ||
"eslint-plugin-mocha": "^8.0.0", | ||
@@ -52,3 +52,2 @@ "eslint-plugin-security": "^1.4.0", | ||
"jsdoc": "^3.6.6", | ||
"jsdoc-to-markdown": "^6.0.1", | ||
"karma": "^5.2.2", | ||
@@ -55,0 +54,0 @@ "karma-browserify": "^7.0.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42618
24
+ Addedflatted@3.1.0(transitive)
- Removedflatted@3.0.5(transitive)
Updatedflatted@3.1.0