summaryrefslogtreecommitdiffstats
path: root/node_modules/chrome-trace-event
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
commite06ec920f7a5d784e674c4c4b4e6d1da3dc7391d (patch)
tree55713f725f77b44ebfec86e4eec3ce33e71458ca /node_modules/chrome-trace-event
downloadwebsite_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.gz
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.bz2
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.zip
api, login, auth
Diffstat (limited to 'node_modules/chrome-trace-event')
-rw-r--r--node_modules/chrome-trace-event/.travis.yml22
-rw-r--r--node_modules/chrome-trace-event/CHANGES.md26
-rw-r--r--node_modules/chrome-trace-event/LICENSE.txt23
-rw-r--r--node_modules/chrome-trace-event/Makefile42
-rw-r--r--node_modules/chrome-trace-event/README.md31
-rw-r--r--node_modules/chrome-trace-event/dist/trace-event.d.ts52
-rw-r--r--node_modules/chrome-trace-event/dist/trace-event.js178
-rw-r--r--node_modules/chrome-trace-event/dist/trace-event.js.map1
-rw-r--r--node_modules/chrome-trace-event/package.json64
-rw-r--r--node_modules/chrome-trace-event/tsconfig.json28
10 files changed, 467 insertions, 0 deletions
diff --git a/node_modules/chrome-trace-event/.travis.yml b/node_modules/chrome-trace-event/.travis.yml
new file mode 100644
index 0000000..bc15b1b
--- /dev/null
+++ b/node_modules/chrome-trace-event/.travis.yml
@@ -0,0 +1,22 @@
+sudo: false
+dist: trusty
+language: node_js
+
+script:
+ - yarn build
+ - yarn test
+ - yarn check_format
+branches:
+ only:
+ - master
+
+cache:
+ yarn: true
+
+matrix:
+ include:
+ - os: linux
+ node_js: "8"
+ - os: linux
+ node_js: "6"
+ fast_finish: true
diff --git a/node_modules/chrome-trace-event/CHANGES.md b/node_modules/chrome-trace-event/CHANGES.md
new file mode 100644
index 0000000..889d7de
--- /dev/null
+++ b/node_modules/chrome-trace-event/CHANGES.md
@@ -0,0 +1,26 @@
+# node-trace-event changelog
+
+## 1.3.1 (not yet released)
+
+(nothing yet)
+
+
+## 1.3.0
+
+- Add `.child(<fields>)` option to `trace_event.createBunyanTracer()` object.
+
+
+## 1.2.0
+
+- Add `trace_event.createBunyanLogger()` usage for some sugar. See the
+ README.md for details.
+
+
+## 1.1.0
+
+- Rename to 'trace-event', which is a much more accurate name.
+
+
+## 1.0.0
+
+First release.
diff --git a/node_modules/chrome-trace-event/LICENSE.txt b/node_modules/chrome-trace-event/LICENSE.txt
new file mode 100644
index 0000000..427a136
--- /dev/null
+++ b/node_modules/chrome-trace-event/LICENSE.txt
@@ -0,0 +1,23 @@
+# This is the MIT license
+
+Copyright (c) 2015 Joyent Inc. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/node_modules/chrome-trace-event/Makefile b/node_modules/chrome-trace-event/Makefile
new file mode 100644
index 0000000..db51617
--- /dev/null
+++ b/node_modules/chrome-trace-event/Makefile
@@ -0,0 +1,42 @@
+
+TAPE = ./node_modules/.bin/tape
+JSSTYLE_FILES := $(shell find lib test -name "*.js")
+
+
+all $(TAPE):
+ npm install
+
+.PHONY: clean
+clean:
+ rm -rf examples/*.json examples/*.log
+
+.PHONY: distclean
+distclean: clean
+ rm -rf node_modules
+
+.PHONY: test
+test: | $(TAPE)
+ $(TAPE) test/*.test.js
+
+.PHONY: check-jsstyle
+check-jsstyle: $(JSSTYLE_FILES)
+ ./tools/jsstyle -o indent=4,doxygen,unparenthesized-return=0,blank-after-start-comment=0,leading-right-paren-ok $(JSSTYLE_FILES)
+
+.PHONY: check
+check: check-jsstyle
+ @echo "Check ok."
+
+# Ensure CHANGES.md and package.json have the same version.
+.PHONY: versioncheck
+versioncheck:
+ @echo version is: $(shell cat package.json | json version)
+ [[ `cat package.json | json version` == `grep '^## ' CHANGES.md | head -1 | awk '{print $$2}'` ]]
+
+.PHONY: cutarelease
+cutarelease: versioncheck
+ [[ `git status | tail -n1` == "nothing to commit, working directory clean" ]]
+ ./tools/cutarelease.py -p trace-event -f package.json
+
+.PHONY: git-hooks
+git-hooks:
+ [[ -e .git/hooks/pre-commit ]] || ln -s ../../tools/pre-commit.sh .git/hooks/pre-commit
diff --git a/node_modules/chrome-trace-event/README.md b/node_modules/chrome-trace-event/README.md
new file mode 100644
index 0000000..8bd2077
--- /dev/null
+++ b/node_modules/chrome-trace-event/README.md
@@ -0,0 +1,31 @@
+[![Build Status](https://travis-ci.org/samccone/chrome-trace-event.svg?branch=master)](https://travis-ci.org/samccone/chrome-trace-event)
+
+chrome-trace-event: A node library for creating trace event logs of program
+execution according to [Google's Trace Event
+format](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU).
+These logs can then be visualized with
+[trace-viewer](https://github.com/google/trace-viewer) or chrome devtools to grok one's programs.
+
+# Install
+
+ npm install chrome-trace-event
+
+# Usage
+
+```javascript
+const Trace = require("chrome-trace-event").Tracer;
+const trace = new Trace({
+ noStream: true
+});
+trace.pipe(fs.createWriteStream(outPath));
+trace.flush();
+```
+
+# Links
+
+* https://github.com/google/trace-viewer/wiki
+* https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU
+
+# License
+
+MIT. See LICENSE.txt.
diff --git a/node_modules/chrome-trace-event/dist/trace-event.d.ts b/node_modules/chrome-trace-event/dist/trace-event.d.ts
new file mode 100644
index 0000000..e0cb0c9
--- /dev/null
+++ b/node_modules/chrome-trace-event/dist/trace-event.d.ts
@@ -0,0 +1,52 @@
+/// <reference types="node" />
+/**
+ * trace-event - A library to create a trace of your node app per
+ * Google's Trace Event format:
+ * // JSSTYLED
+ * https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU
+ */
+import { Readable as ReadableStream } from "stream";
+export interface Event {
+ ts: number;
+ pid: number;
+ tid: number;
+ /** event phase */
+ ph?: string;
+ [otherData: string]: any;
+}
+export interface Fields {
+ cat?: any;
+ args?: any;
+ [filedName: string]: any;
+}
+export interface TracerOptions {
+ parent?: Tracer | null;
+ fields?: Fields | null;
+ objectMode?: boolean | null;
+ noStream?: boolean;
+}
+export declare class Tracer extends ReadableStream {
+ private _objectMode;
+ /** Node Stream internal APIs */
+ private _push;
+ private firstPush?;
+ private noStream;
+ private events;
+ private parent;
+ private fields;
+ constructor(opts?: TracerOptions);
+ /**
+ * If in no streamMode in order to flush out the trace
+ * you need to call flush.
+ */
+ flush(): void;
+ _read(_: number): void;
+ private _pushString(ev);
+ private _flush();
+ child(fields: Fields): Tracer;
+ begin(fields: Fields): void;
+ end(fields: Fields): void;
+ completeEvent(fields: Fields): void;
+ instantEvent(fields: Fields): void;
+ mkEventFunc(ph: string): (fields: Fields) => void;
+}
diff --git a/node_modules/chrome-trace-event/dist/trace-event.js b/node_modules/chrome-trace-event/dist/trace-event.js
new file mode 100644
index 0000000..5665570
--- /dev/null
+++ b/node_modules/chrome-trace-event/dist/trace-event.js
@@ -0,0 +1,178 @@
+"use strict";
+/**
+ * trace-event - A library to create a trace of your node app per
+ * Google's Trace Event format:
+ * // JSSTYLED
+ * https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+var tslib_1 = require("tslib");
+var stream_1 = require("stream");
+function evCommon() {
+ var hrtime = process.hrtime(); // [seconds, nanoseconds]
+ var ts = hrtime[0] * 1000000 + Math.round(hrtime[1] / 1000); // microseconds
+ return {
+ ts: ts,
+ pid: process.pid,
+ tid: process.pid // no meaningful tid for node.js
+ };
+}
+var Tracer = /** @class */ (function (_super) {
+ tslib_1.__extends(Tracer, _super);
+ function Tracer(opts) {
+ if (opts === void 0) { opts = {}; }
+ var _this = _super.call(this) || this;
+ _this.noStream = false;
+ _this.events = [];
+ if (typeof opts !== "object") {
+ throw new Error("Invalid options passed (must be an object)");
+ }
+ if (opts.parent != null && typeof opts.parent !== "object") {
+ throw new Error("Invalid option (parent) passed (must be an object)");
+ }
+ if (opts.fields != null && typeof opts.fields !== "object") {
+ throw new Error("Invalid option (fields) passed (must be an object)");
+ }
+ if (opts.objectMode != null &&
+ (opts.objectMode !== true && opts.objectMode !== false)) {
+ throw new Error("Invalid option (objectsMode) passed (must be a boolean)");
+ }
+ _this.noStream = opts.noStream || false;
+ _this.parent = opts.parent;
+ if (_this.parent) {
+ _this.fields = Object.assign({}, opts.parent && opts.parent.fields);
+ }
+ else {
+ _this.fields = {};
+ }
+ if (opts.fields) {
+ Object.assign(_this.fields, opts.fields);
+ }
+ if (!_this.fields.cat) {
+ // trace-viewer *requires* `cat`, so let's have a fallback.
+ _this.fields.cat = "default";
+ }
+ else if (Array.isArray(_this.fields.cat)) {
+ _this.fields.cat = _this.fields.cat.join(",");
+ }
+ if (!_this.fields.args) {
+ // trace-viewer *requires* `args`, so let's have a fallback.
+ _this.fields.args = {};
+ }
+ if (_this.parent) {
+ // TODO: Not calling Readable ctor here. Does that cause probs?
+ // Probably if trying to pipe from the child.
+ // Might want a serpate TracerChild class for these guys.
+ _this._push = _this.parent._push.bind(_this.parent);
+ }
+ else {
+ _this._objectMode = Boolean(opts.objectMode);
+ var streamOpts = { objectMode: _this._objectMode };
+ if (_this._objectMode) {
+ _this._push = _this.push;
+ }
+ else {
+ _this._push = _this._pushString;
+ streamOpts.encoding = "utf8";
+ }
+ stream_1.Readable.call(_this, streamOpts);
+ }
+ return _this;
+ }
+ /**
+ * If in no streamMode in order to flush out the trace
+ * you need to call flush.
+ */
+ Tracer.prototype.flush = function () {
+ if (this.noStream === true) {
+ for (var _i = 0, _a = this.events; _i < _a.length; _i++) {
+ var evt = _a[_i];
+ this._push(evt);
+ }
+ this._flush();
+ }
+ };
+ Tracer.prototype._read = function (_) { };
+ Tracer.prototype._pushString = function (ev) {
+ var separator = "";
+ if (!this.firstPush) {
+ this.push("[");
+ this.firstPush = true;
+ }
+ else {
+ separator = ",\n";
+ }
+ this.push(separator + JSON.stringify(ev), "utf8");
+ };
+ Tracer.prototype._flush = function () {
+ if (!this._objectMode) {
+ this.push("]");
+ }
+ };
+ Tracer.prototype.child = function (fields) {
+ return new Tracer({
+ parent: this,
+ fields: fields
+ });
+ };
+ Tracer.prototype.begin = function (fields) {
+ return this.mkEventFunc("b")(fields);
+ };
+ Tracer.prototype.end = function (fields) {
+ return this.mkEventFunc("e")(fields);
+ };
+ Tracer.prototype.completeEvent = function (fields) {
+ return this.mkEventFunc("X")(fields);
+ };
+ Tracer.prototype.instantEvent = function (fields) {
+ return this.mkEventFunc("I")(fields);
+ };
+ Tracer.prototype.mkEventFunc = function (ph) {
+ var _this = this;
+ return function (fields) {
+ var ev = evCommon();
+ // Assign the event phase.
+ ev.ph = ph;
+ if (fields) {
+ if (typeof fields === "string") {
+ ev.name = fields;
+ }
+ else {
+ for (var _i = 0, _a = Object.keys(fields); _i < _a.length; _i++) {
+ var k = _a[_i];
+ if (k === "cat") {
+ ev.cat = fields.cat.join(",");
+ }
+ else {
+ ev[k] = fields[k];
+ }
+ }
+ }
+ }
+ if (!_this.noStream) {
+ _this._push(ev);
+ }
+ else {
+ _this.events.push(ev);
+ }
+ };
+ };
+ return Tracer;
+}(stream_1.Readable));
+exports.Tracer = Tracer;
+/*
+ * These correspond to the "Async events" in the Trace Events doc.
+ *
+ * Required fields:
+ * - name
+ * - id
+ *
+ * Optional fields:
+ * - cat (array)
+ * - args (object)
+ * - TODO: stack fields, other optional fields?
+ *
+ * Dev Note: We don't explicitly assert that correct fields are
+ * used for speed (premature optimization alert!).
+ */
+//# sourceMappingURL=trace-event.js.map \ No newline at end of file
diff --git a/node_modules/chrome-trace-event/dist/trace-event.js.map b/node_modules/chrome-trace-event/dist/trace-event.js.map
new file mode 100644
index 0000000..4e016e4
--- /dev/null
+++ b/node_modules/chrome-trace-event/dist/trace-event.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"trace-event.js","sourceRoot":"","sources":["../lib/trace-event.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iCAAqE;AAYrE;IACE,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,yBAAyB;IACxD,IAAI,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,eAAe;IAC5E,OAAO;QACL,EAAE,IAAA;QACF,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,gCAAgC;KAClD,CAAC;AACJ,CAAC;AAiBD;IAA4B,kCAAc;IAUxC,gBAAY,IAAwB;QAAxB,qBAAA,EAAA,SAAwB;QAApC,YACE,iBAAO,SA6DR;QAnEO,cAAQ,GAAY,KAAK,CAAC;QAC1B,YAAM,GAAY,EAAE,CAAC;QAM3B,IAAI,OAAO,IAAI,KAAK,QAAQ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E,CAAC;YAEX,IAAI,MAAM,EAAE;gBACV,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;oBAC9B,EAAE,CAAC,IAAI,GAAG,MAAM,CAAC;iBAClB;qBAAM;oBACL,KAAgB,UAAmB,EAAnB,KAAA,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAnB,cAAmB,EAAnB,IAAmB;wBAA9B,IAAM,CAAC,SAAA;wBACV,IAAI,CAAC,KAAK,KAAK,EAAE;4BACf,EAAE,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;yBAC/B;6BAAM;4BACL,EAAE,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;yBACnB;qBACF;iBACF;aACF;YAED,IAAI,CAAC,KAAI,CAAC,QAAQ,EAAE;gBAClB,KAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;aAChB;iBAAM;gBACL,KAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;aACtB;QACH,CAAC,CAAC;IACJ,CAAC;IACH,aAAC;AAAD,CAAC,AA5JD,CAA4B,iBAAc,GA4JzC;AA5JY,wBAAM;AA8JnB;;;;;;;;;;;;;;GAcG"} \ No newline at end of file
diff --git a/node_modules/chrome-trace-event/package.json b/node_modules/chrome-trace-event/package.json
new file mode 100644
index 0000000..d7733c9
--- /dev/null
+++ b/node_modules/chrome-trace-event/package.json
@@ -0,0 +1,64 @@
+{
+ "_from": "chrome-trace-event@^1.0.2",
+ "_id": "chrome-trace-event@1.0.2",
+ "_inBundle": false,
+ "_integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==",
+ "_location": "/chrome-trace-event",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "chrome-trace-event@^1.0.2",
+ "name": "chrome-trace-event",
+ "escapedName": "chrome-trace-event",
+ "rawSpec": "^1.0.2",
+ "saveSpec": null,
+ "fetchSpec": "^1.0.2"
+ },
+ "_requiredBy": [
+ "/webpack"
+ ],
+ "_resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz",
+ "_shasum": "234090ee97c7d4ad1a2c4beae27505deffc608a4",
+ "_spec": "chrome-trace-event@^1.0.2",
+ "_where": "/home/pruss/Dev/3-minute-website/node_modules/webpack",
+ "author": {
+ "name": "Trent Mick, Sam Saccone"
+ },
+ "bundleDependencies": false,
+ "dependencies": {
+ "tslib": "^1.9.0"
+ },
+ "deprecated": false,
+ "description": "A library to create a trace of your node app per Google's Trace Event format.",
+ "devDependencies": {
+ "@types/node": "^9.6.5",
+ "prettier": "^1.12.1",
+ "tape": "4.8.0",
+ "typescript": "^2.8.1"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "keywords": [
+ "trace-event",
+ "trace",
+ "event",
+ "trace-viewer",
+ "google"
+ ],
+ "license": "MIT",
+ "main": "./dist/trace-event.js",
+ "name": "chrome-trace-event",
+ "repository": {
+ "type": "git",
+ "url": "github.com:samccone/chrome-trace-event"
+ },
+ "scripts": {
+ "build": "tsc",
+ "check_format": "prettier -l lib/** test/** examples/**",
+ "test": "tape test/*.test.js"
+ },
+ "typings": "./dist/trace-event.d.ts",
+ "version": "1.0.2"
+}
diff --git a/node_modules/chrome-trace-event/tsconfig.json b/node_modules/chrome-trace-event/tsconfig.json
new file mode 100644
index 0000000..77887de
--- /dev/null
+++ b/node_modules/chrome-trace-event/tsconfig.json
@@ -0,0 +1,28 @@
+{
+ "compilerOptions": {
+ "target": "es5",
+ "module": "commonjs",
+ "lib": [
+ "es2015"
+ ],
+ "declaration": true,
+ "sourceMap": true,
+ "outDir": "./dist",
+ "importHelpers": true,
+ "strict": true,
+ "noImplicitAny": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "strictPropertyInitialization": true,
+ "noImplicitThis": true,
+ "alwaysStrict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noImplicitReturns": true,
+ "noFallthroughCasesInSwitch": true,
+ "types": [
+ "node"
+ ],
+ "esModuleInterop": true
+ }
+} \ No newline at end of file