From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/regenerator-runtime/.npmignore | 2 -- node_modules/regenerator-runtime/package.json | 2 +- node_modules/regenerator-runtime/path.js | 7 +++++++ node_modules/regenerator-runtime/runtime-module.js | 12 +++++++---- node_modules/regenerator-runtime/runtime.js | 23 +++++++--------------- 5 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 node_modules/regenerator-runtime/.npmignore (limited to 'node_modules/regenerator-runtime') diff --git a/node_modules/regenerator-runtime/.npmignore b/node_modules/regenerator-runtime/.npmignore deleted file mode 100644 index e216ae5e1..000000000 --- a/node_modules/regenerator-runtime/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules -/test diff --git a/node_modules/regenerator-runtime/package.json b/node_modules/regenerator-runtime/package.json index d73b946d2..db0539875 100644 --- a/node_modules/regenerator-runtime/package.json +++ b/node_modules/regenerator-runtime/package.json @@ -2,7 +2,7 @@ "name": "regenerator-runtime", "author": "Ben Newman ", "description": "Runtime for Regenerator-compiled generator and async functions.", - "version": "0.10.5", + "version": "0.11.1", "main": "runtime-module.js", "keywords": [ "regenerator", diff --git a/node_modules/regenerator-runtime/path.js b/node_modules/regenerator-runtime/path.js index a450a7533..ced878b88 100644 --- a/node_modules/regenerator-runtime/path.js +++ b/node_modules/regenerator-runtime/path.js @@ -1,3 +1,10 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + exports.path = require("path").join( __dirname, "runtime.js" diff --git a/node_modules/regenerator-runtime/runtime-module.js b/node_modules/regenerator-runtime/runtime-module.js index 8e7e2e4c1..ed2843177 100644 --- a/node_modules/regenerator-runtime/runtime-module.js +++ b/node_modules/regenerator-runtime/runtime-module.js @@ -1,9 +1,13 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + // This method of obtaining a reference to the global object needs to be // kept identical to the way it is obtained in runtime.js -var g = - typeof global === "object" ? global : - typeof window === "object" ? window : - typeof self === "object" ? self : this; +var g = (function() { return this })() || Function("return this")(); // Use `getOwnPropertyNames` because not all browsers support calling // `hasOwnProperty` on the global `self` object in a worker. See #183. diff --git a/node_modules/regenerator-runtime/runtime.js b/node_modules/regenerator-runtime/runtime.js index 5b08c4d34..22e7b005c 100644 --- a/node_modules/regenerator-runtime/runtime.js +++ b/node_modules/regenerator-runtime/runtime.js @@ -1,11 +1,8 @@ /** - * Copyright (c) 2014, Facebook, Inc. - * All rights reserved. + * Copyright (c) 2014-present, Facebook, Inc. * - * This source code is licensed under the BSD-style license found in the - * https://raw.github.com/facebook/regenerator/master/LICENSE file. An - * additional grant of patent rights can be found in the PATENTS file in - * the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ !(function(global) { @@ -190,10 +187,6 @@ } } - if (typeof global.process === "object" && global.process.domain) { - invoke = global.process.domain.bind(invoke); - } - var previousPromise; function enqueue(method, arg) { @@ -727,10 +720,8 @@ } }; })( - // Among the various tricks for obtaining a reference to the global - // object, this seems to be the most reliable technique that does not - // use indirect eval (which violates Content Security Policy). - typeof global === "object" ? global : - typeof window === "object" ? window : - typeof self === "object" ? self : this + // In sloppy mode, unbound `this` refers to the global object, fallback to + // Function constructor if we're in global strict mode. That is sadly a form + // of indirect eval which violates Content Security Policy. + (function() { return this })() || Function("return this")() ); -- cgit v1.2.3