-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
610 changed files
with
66,456 additions
and
765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"dependencies":[{"name":"E:\\electron\\新建文件夹\\node_modules\\engine.io\\package.json","includedInParent":true,"mtime":1530440436958},{"name":"E:\\electron\\新建文件夹\\package.json","includedInParent":true,"mtime":1530462974740},{"name":"./polling","loc":{"line":6,"column":22},"parent":"E:\\electron\\新建文件夹\\node_modules\\engine.io\\lib\\transports\\polling-xhr.js","resolved":"E:\\electron\\新建文件夹\\node_modules\\engine.io\\lib\\transports\\polling.js"},{"name":"util","loc":{"line":7,"column":19},"parent":"E:\\electron\\新建文件夹\\node_modules\\engine.io\\lib\\transports\\polling-xhr.js","resolved":"C:\\Users\\z_chong\\AppData\\Roaming\\npm\\node_modules\\parcel-bundler\\node_modules\\util\\util.js"}],"generated":{"js":"\n/**\n * Module dependencies.\n */\n\nvar Polling = require('./polling');\nvar util = require('util');\n\n/**\n * Module exports.\n */\n\nmodule.exports = XHR;\n\n/**\n * Ajax polling transport.\n *\n * @api public\n */\n\nfunction XHR (req) {\n Polling.call(this, req);\n}\n\n/**\n * Inherits from Polling.\n */\n\nutil.inherits(XHR, Polling);\n\n/**\n * Overrides `onRequest` to handle `OPTIONS`..\n *\n * @param {http.IncomingMessage}\n * @api private\n */\n\nXHR.prototype.onRequest = function (req) {\n if ('OPTIONS' === req.method) {\n var res = req.res;\n var headers = this.headers(req);\n headers['Access-Control-Allow-Headers'] = 'Content-Type';\n res.writeHead(200, headers);\n res.end();\n } else {\n Polling.prototype.onRequest.call(this, req);\n }\n};\n\n/**\n * Returns headers for a response.\n *\n * @param {http.IncomingMessage} request\n * @param {Object} extra headers\n * @api private\n */\n\nXHR.prototype.headers = function (req, headers) {\n headers = headers || {};\n\n if (req.headers.origin) {\n headers['Access-Control-Allow-Credentials'] = 'true';\n headers['Access-Control-Allow-Origin'] = req.headers.origin;\n } else {\n headers['Access-Control-Allow-Origin'] = '*';\n }\n\n return Polling.prototype.headers.call(this, req, headers);\n};\n","map":{"mappings":[{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":2,"column":0},"generated":{"line":2,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":3,"column":0},"generated":{"line":3,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":4,"column":0},"generated":{"line":4,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":5,"column":0},"generated":{"line":5,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":6,"column":0},"generated":{"line":6,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":7,"column":0},"generated":{"line":7,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":8,"column":0},"generated":{"line":8,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":9,"column":0},"generated":{"line":9,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":10,"column":0},"generated":{"line":10,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":11,"column":0},"generated":{"line":11,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":12,"column":0},"generated":{"line":12,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":13,"column":0},"generated":{"line":13,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":14,"column":0},"generated":{"line":14,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":15,"column":0},"generated":{"line":15,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":16,"column":0},"generated":{"line":16,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":17,"column":0},"generated":{"line":17,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":18,"column":0},"generated":{"line":18,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":19,"column":0},"generated":{"line":19,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":20,"column":0},"generated":{"line":20,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":21,"column":0},"generated":{"line":21,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":22,"column":0},"generated":{"line":22,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":23,"column":0},"generated":{"line":23,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":24,"column":0},"generated":{"line":24,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":25,"column":0},"generated":{"line":25,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":26,"column":0},"generated":{"line":26,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":27,"column":0},"generated":{"line":27,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":28,"column":0},"generated":{"line":28,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":29,"column":0},"generated":{"line":29,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":30,"column":0},"generated":{"line":30,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":31,"column":0},"generated":{"line":31,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":32,"column":0},"generated":{"line":32,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":33,"column":0},"generated":{"line":33,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":34,"column":0},"generated":{"line":34,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":35,"column":0},"generated":{"line":35,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":36,"column":0},"generated":{"line":36,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":37,"column":0},"generated":{"line":37,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":38,"column":0},"generated":{"line":38,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":39,"column":0},"generated":{"line":39,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":40,"column":0},"generated":{"line":40,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":41,"column":0},"generated":{"line":41,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":42,"column":0},"generated":{"line":42,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":43,"column":0},"generated":{"line":43,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":44,"column":0},"generated":{"line":44,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":45,"column":0},"generated":{"line":45,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":46,"column":0},"generated":{"line":46,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":47,"column":0},"generated":{"line":47,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":48,"column":0},"generated":{"line":48,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":49,"column":0},"generated":{"line":49,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":50,"column":0},"generated":{"line":50,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":51,"column":0},"generated":{"line":51,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":52,"column":0},"generated":{"line":52,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":53,"column":0},"generated":{"line":53,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":54,"column":0},"generated":{"line":54,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":55,"column":0},"generated":{"line":55,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":56,"column":0},"generated":{"line":56,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":57,"column":0},"generated":{"line":57,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":58,"column":0},"generated":{"line":58,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":59,"column":0},"generated":{"line":59,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":60,"column":0},"generated":{"line":60,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":61,"column":0},"generated":{"line":61,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":62,"column":0},"generated":{"line":62,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":63,"column":0},"generated":{"line":63,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":64,"column":0},"generated":{"line":64,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":65,"column":0},"generated":{"line":65,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":66,"column":0},"generated":{"line":66,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":67,"column":0},"generated":{"line":67,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":68,"column":0},"generated":{"line":68,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":69,"column":0},"generated":{"line":69,"column":0}},{"source":"node_modules\\engine.io\\lib\\transports\\polling-xhr.js","original":{"line":70,"column":0},"generated":{"line":70,"column":0}}],"sources":{"node_modules\\engine.io\\lib\\transports\\polling-xhr.js":"\n/**\n * Module dependencies.\n */\n\nvar Polling = require('./polling');\nvar util = require('util');\n\n/**\n * Module exports.\n */\n\nmodule.exports = XHR;\n\n/**\n * Ajax polling transport.\n *\n * @api public\n */\n\nfunction XHR (req) {\n Polling.call(this, req);\n}\n\n/**\n * Inherits from Polling.\n */\n\nutil.inherits(XHR, Polling);\n\n/**\n * Overrides `onRequest` to handle `OPTIONS`..\n *\n * @param {http.IncomingMessage}\n * @api private\n */\n\nXHR.prototype.onRequest = function (req) {\n if ('OPTIONS' === req.method) {\n var res = req.res;\n var headers = this.headers(req);\n headers['Access-Control-Allow-Headers'] = 'Content-Type';\n res.writeHead(200, headers);\n res.end();\n } else {\n Polling.prototype.onRequest.call(this, req);\n }\n};\n\n/**\n * Returns headers for a response.\n *\n * @param {http.IncomingMessage} request\n * @param {Object} extra headers\n * @api private\n */\n\nXHR.prototype.headers = function (req, headers) {\n headers = headers || {};\n\n if (req.headers.origin) {\n headers['Access-Control-Allow-Credentials'] = 'true';\n headers['Access-Control-Allow-Origin'] = req.headers.origin;\n } else {\n headers['Access-Control-Allow-Origin'] = '*';\n }\n\n return Polling.prototype.headers.call(this, req, headers);\n};\n"},"lineCount":70}},"hash":"1cbc9b79cef383ad3acb10bde7999936","cacheData":{"env":{}},"id":353} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"dependencies":[{"name":"E:\\electron\\新建文件夹\\node_modules\\arraybuffer.slice\\package.json","includedInParent":true,"mtime":1530440435629},{"name":"E:\\electron\\新建文件夹\\package.json","includedInParent":true,"mtime":1530466172883}],"generated":{"js":"/**\n * An abstraction for slicing an arraybuffer even when\n * ArrayBuffer.prototype.slice is not supported\n *\n * @api public\n */\n\nmodule.exports = function(arraybuffer, start, end) {\n var bytes = arraybuffer.byteLength;\n start = start || 0;\n end = end || bytes;\n\n if (arraybuffer.slice) { return arraybuffer.slice(start, end); }\n\n if (start < 0) { start += bytes; }\n if (end < 0) { end += bytes; }\n if (end > bytes) { end = bytes; }\n\n if (start >= bytes || start >= end || bytes === 0) {\n return new ArrayBuffer(0);\n }\n\n var abv = new Uint8Array(arraybuffer);\n var result = new Uint8Array(end - start);\n for (var i = start, ii = 0; i < end; i++, ii++) {\n result[ii] = abv[i];\n }\n return result.buffer;\n};\n","map":{"mappings":[{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":2,"column":0},"generated":{"line":2,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":3,"column":0},"generated":{"line":3,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":4,"column":0},"generated":{"line":4,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":5,"column":0},"generated":{"line":5,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":6,"column":0},"generated":{"line":6,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":7,"column":0},"generated":{"line":7,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":8,"column":0},"generated":{"line":8,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":9,"column":0},"generated":{"line":9,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":10,"column":0},"generated":{"line":10,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":11,"column":0},"generated":{"line":11,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":12,"column":0},"generated":{"line":12,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":13,"column":0},"generated":{"line":13,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":14,"column":0},"generated":{"line":14,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":15,"column":0},"generated":{"line":15,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":16,"column":0},"generated":{"line":16,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":17,"column":0},"generated":{"line":17,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":18,"column":0},"generated":{"line":18,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":19,"column":0},"generated":{"line":19,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":20,"column":0},"generated":{"line":20,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":21,"column":0},"generated":{"line":21,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":22,"column":0},"generated":{"line":22,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":23,"column":0},"generated":{"line":23,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":24,"column":0},"generated":{"line":24,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":25,"column":0},"generated":{"line":25,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":26,"column":0},"generated":{"line":26,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":27,"column":0},"generated":{"line":27,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":28,"column":0},"generated":{"line":28,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":29,"column":0},"generated":{"line":29,"column":0}},{"source":"node_modules\\arraybuffer.slice\\index.js","original":{"line":30,"column":0},"generated":{"line":30,"column":0}}],"sources":{"node_modules\\arraybuffer.slice\\index.js":"/**\n * An abstraction for slicing an arraybuffer even when\n * ArrayBuffer.prototype.slice is not supported\n *\n * @api public\n */\n\nmodule.exports = function(arraybuffer, start, end) {\n var bytes = arraybuffer.byteLength;\n start = start || 0;\n end = end || bytes;\n\n if (arraybuffer.slice) { return arraybuffer.slice(start, end); }\n\n if (start < 0) { start += bytes; }\n if (end < 0) { end += bytes; }\n if (end > bytes) { end = bytes; }\n\n if (start >= bytes || start >= end || bytes === 0) {\n return new ArrayBuffer(0);\n }\n\n var abv = new Uint8Array(arraybuffer);\n var result = new Uint8Array(end - start);\n for (var i = start, ii = 0; i < end; i++, ii++) {\n result[ii] = abv[i];\n }\n return result.buffer;\n};\n"},"lineCount":30}},"hash":"6864249d5582f7c841ab5b0fff3a356e","cacheData":{"env":{}},"id":74} |
Oops, something went wrong.