mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-22 11:40:09 +00:00
refactor(@embark-utils): move escapHtml to embark-utils
This commit is contained in:
parent
2464fb69af
commit
483f692e0b
@ -68,7 +68,8 @@ const Utils = {
|
||||
isHex,
|
||||
soliditySha3,
|
||||
recursiveMerge,
|
||||
sha512
|
||||
sha512,
|
||||
escapeHtml: require('./escapeHtml')
|
||||
};
|
||||
|
||||
module.exports = Utils;
|
||||
|
@ -1,7 +1,7 @@
|
||||
require('colors');
|
||||
let fs = require('./fs.js');
|
||||
const date = require('date-and-time');
|
||||
const escapeHtml = require('../utils/escapeHtml');
|
||||
const { escapeHtml } = require('embark-utils');
|
||||
const util = require('util');
|
||||
|
||||
const DATE_FORMAT = 'YYYY-MM-DD HH:mm:ss:SSS';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*globals __*/
|
||||
const env = require("../../core/env");
|
||||
const utils = require("../../utils/utils");
|
||||
const escapeHtml = require("../../utils/escapeHtml");
|
||||
const {escapeHtml} = require("embark-utils");
|
||||
import { Callback } from "embark";
|
||||
import constants from "../../constants.json";
|
||||
const stringify = require("json-stringify-safe");
|
||||
|
@ -1,5 +1,5 @@
|
||||
const LogHandler = require('../../utils/logHandler');
|
||||
const escapeHtml = require('../../utils/escapeHtml');
|
||||
const {escapeHtml} = require('embark-utils');
|
||||
|
||||
class ProcessLogsApi {
|
||||
constructor({embark, processName, silent}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user