Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinymce/moxiedoc

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinymce/moxiedoc - npm Package Compare versions

Comparing version 0.3.0-feature.20220824015318121.shacb1c7bd to 0.3.0-feature.20220824015837767.sha945a016

8

dist/lib/moxiedoc.js

@@ -34,6 +34,6 @@ "use strict";

if (settings.verbose) {
Reporter.setLevel(2 /* INFO */);
Reporter.setLevel(2 /* Reporter.Level.INFO */);
}
if (settings.debug) {
Reporter.setLevel(1 /* DEBUG */);
Reporter.setLevel(1 /* Reporter.Level.DEBUG */);
}

@@ -44,6 +44,6 @@ const result = { errors: 0, warnings: 0 };

Reporter.addHook((level) => {
if (level === 4 /* ERROR */) {
if (level === 4 /* Reporter.Level.ERROR */) {
result.errors++;
}
else if (level === 3 /* WARN */) {
else if (level === 3 /* Reporter.Level.WARN */) {
result.warnings++;

@@ -50,0 +50,0 @@ }

/// <reference types="node" />
/// <reference types="node" />
import { TranscodeEncoding } from 'buffer';

@@ -3,0 +4,0 @@ import { EventEmitter } from 'events';

@@ -5,16 +5,16 @@ "use strict";

const clc = require("cli-color");
let currentLevel = 3 /* WARN */;
let currentLevel = 3 /* Level.WARN */;
const hooks = [];
const log = (level, message) => {
switch (level) {
case 1 /* DEBUG */:
case 1 /* Level.DEBUG */:
message = clc.magenta('Debug: ') + message;
break;
case 2 /* INFO */:
case 2 /* Level.INFO */:
message = clc.cyan('Info: ') + message;
break;
case 3 /* WARN */:
case 3 /* Level.WARN */:
message = clc.yellow('Warning: ') + message;
break;
case 4 /* ERROR */:
case 4 /* Level.ERROR */:
message = clc.red('Error: ') + message;

@@ -42,10 +42,10 @@ break;

exports.addHook = addHook;
const debug = createLogFunction(1 /* DEBUG */);
const debug = createLogFunction(1 /* Level.DEBUG */);
exports.debug = debug;
const info = createLogFunction(2 /* INFO */);
const info = createLogFunction(2 /* Level.INFO */);
exports.info = info;
const warn = createLogFunction(3 /* WARN */);
const warn = createLogFunction(3 /* Level.WARN */);
exports.warn = warn;
const error = createLogFunction(4 /* ERROR */);
const error = createLogFunction(4 /* Level.ERROR */);
exports.error = error;
//# sourceMappingURL=reporter.js.map
{
"name": "@tinymce/moxiedoc",
"version": "0.3.0-feature.20220824015318121.shacb1c7bd",
"version": "0.3.0-feature.20220824015837767.sha945a016",
"description": "A tool for generating API documentation",

@@ -15,3 +15,3 @@ "author": "Tiny Technologies, Inc",

"prepublishOnly": "yarn build",
"copy-templates": "cd src && rsync -R templates/**/*.handlebars ../dist/ && cd ../",
"copy-templates": "cd src && copyfiles 'templates/**/*.handlebars' ../dist/ && cd ../",
"build": "tsc && yarn copy-templates",

@@ -37,4 +37,4 @@ "lint": "eslint src/**/*.ts",

"devDependencies": {
"@tinymce/beehive-flow": "^0.17.0",
"@tinymce/eslint-plugin": "^1.9.2",
"@tinymce/beehive-flow": "^0.18.0",
"@tinymce/eslint-plugin": "^2.0.1",
"@types/chai": "^4.2.22",

@@ -45,4 +45,5 @@ "@types/cli-color": "^2.0.1",

"@types/mocha": "^9.0.0",
"@types/node": "^14.14.22",
"@types/node": "^18.7.9",
"chai": "^4.3.4",
"copyfiles": "^2.4.1",
"esm": "^3.2.25",

@@ -54,4 +55,4 @@ "js-yaml": "^4.0.0",

"source-map-support": "^0.5.20",
"ts-node": "^10.2.1",
"typescript": "^4.1.3"
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},

@@ -58,0 +59,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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