Galerie und tage
This commit is contained in:
11
node_modules/dom-serializer/LICENSE
generated
vendored
11
node_modules/dom-serializer/LICENSE
generated
vendored
@@ -1,11 +0,0 @@
|
||||
License
|
||||
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2014 The cheeriojs contributors
|
||||
|
||||
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.
|
||||
1
node_modules/dom-serializer/README.md
generated
vendored
1
node_modules/dom-serializer/README.md
generated
vendored
@@ -1 +0,0 @@
|
||||
Renders a DOM node or an array of DOM nodes to a string.
|
||||
102
node_modules/dom-serializer/foreignNames.json
generated
vendored
102
node_modules/dom-serializer/foreignNames.json
generated
vendored
@@ -1,102 +0,0 @@
|
||||
{
|
||||
"elementNames" : {
|
||||
"altglyph" : "altGlyph",
|
||||
"altglyphdef" : "altGlyphDef",
|
||||
"altglyphitem" : "altGlyphItem",
|
||||
"animatecolor" : "animateColor",
|
||||
"animatemotion" : "animateMotion",
|
||||
"animatetransform" : "animateTransform",
|
||||
"clippath" : "clipPath",
|
||||
"feblend" : "feBlend",
|
||||
"fecolormatrix" : "feColorMatrix",
|
||||
"fecomponenttransfer" : "feComponentTransfer",
|
||||
"fecomposite" : "feComposite",
|
||||
"feconvolvematrix" : "feConvolveMatrix",
|
||||
"fediffuselighting" : "feDiffuseLighting",
|
||||
"fedisplacementmap" : "feDisplacementMap",
|
||||
"fedistantlight" : "feDistantLight",
|
||||
"fedropshadow" : "feDropShadow",
|
||||
"feflood" : "feFlood",
|
||||
"fefunca" : "feFuncA",
|
||||
"fefuncb" : "feFuncB",
|
||||
"fefuncg" : "feFuncG",
|
||||
"fefuncr" : "feFuncR",
|
||||
"fegaussianblur" : "feGaussianBlur",
|
||||
"feimage" : "feImage",
|
||||
"femerge" : "feMerge",
|
||||
"femergenode" : "feMergeNode",
|
||||
"femorphology" : "feMorphology",
|
||||
"feoffset" : "feOffset",
|
||||
"fepointlight" : "fePointLight",
|
||||
"fespecularlighting" : "feSpecularLighting",
|
||||
"fespotlight" : "feSpotLight",
|
||||
"fetile" : "feTile",
|
||||
"feturbulence" : "feTurbulence",
|
||||
"foreignobject" : "foreignObject",
|
||||
"glyphref" : "glyphRef",
|
||||
"lineargradient" : "linearGradient",
|
||||
"radialgradient" : "radialGradient",
|
||||
"textpath" : "textPath"
|
||||
},
|
||||
"attributeNames" : {
|
||||
"definitionurl" : "definitionURL",
|
||||
"attributename" : "attributeName",
|
||||
"attributetype" : "attributeType",
|
||||
"basefrequency" : "baseFrequency",
|
||||
"baseprofile" : "baseProfile",
|
||||
"calcmode" : "calcMode",
|
||||
"clippathunits" : "clipPathUnits",
|
||||
"diffuseconstant" : "diffuseConstant",
|
||||
"edgemode" : "edgeMode",
|
||||
"filterunits" : "filterUnits",
|
||||
"glyphref" : "glyphRef",
|
||||
"gradienttransform" : "gradientTransform",
|
||||
"gradientunits" : "gradientUnits",
|
||||
"kernelmatrix" : "kernelMatrix",
|
||||
"kernelunitlength" : "kernelUnitLength",
|
||||
"keypoints" : "keyPoints",
|
||||
"keysplines" : "keySplines",
|
||||
"keytimes" : "keyTimes",
|
||||
"lengthadjust" : "lengthAdjust",
|
||||
"limitingconeangle" : "limitingConeAngle",
|
||||
"markerheight" : "markerHeight",
|
||||
"markerunits" : "markerUnits",
|
||||
"markerwidth" : "markerWidth",
|
||||
"maskcontentunits" : "maskContentUnits",
|
||||
"maskunits" : "maskUnits",
|
||||
"numoctaves" : "numOctaves",
|
||||
"pathlength" : "pathLength",
|
||||
"patterncontentunits" : "patternContentUnits",
|
||||
"patterntransform" : "patternTransform",
|
||||
"patternunits" : "patternUnits",
|
||||
"pointsatx" : "pointsAtX",
|
||||
"pointsaty" : "pointsAtY",
|
||||
"pointsatz" : "pointsAtZ",
|
||||
"preservealpha" : "preserveAlpha",
|
||||
"preserveaspectratio" : "preserveAspectRatio",
|
||||
"primitiveunits" : "primitiveUnits",
|
||||
"refx" : "refX",
|
||||
"refy" : "refY",
|
||||
"repeatcount" : "repeatCount",
|
||||
"repeatdur" : "repeatDur",
|
||||
"requiredextensions" : "requiredExtensions",
|
||||
"requiredfeatures" : "requiredFeatures",
|
||||
"specularconstant" : "specularConstant",
|
||||
"specularexponent" : "specularExponent",
|
||||
"spreadmethod" : "spreadMethod",
|
||||
"startoffset" : "startOffset",
|
||||
"stddeviation" : "stdDeviation",
|
||||
"stitchtiles" : "stitchTiles",
|
||||
"surfacescale" : "surfaceScale",
|
||||
"systemlanguage" : "systemLanguage",
|
||||
"tablevalues" : "tableValues",
|
||||
"targetx" : "targetX",
|
||||
"targety" : "targetY",
|
||||
"textlength" : "textLength",
|
||||
"viewbox" : "viewBox",
|
||||
"viewtarget" : "viewTarget",
|
||||
"xchannelselector" : "xChannelSelector",
|
||||
"ychannelselector" : "yChannelSelector",
|
||||
"zoomandpan" : "zoomAndPan"
|
||||
}
|
||||
}
|
||||
17
node_modules/dom-serializer/index.d.ts
generated
vendored
17
node_modules/dom-serializer/index.d.ts
generated
vendored
@@ -1,17 +0,0 @@
|
||||
export interface DomSerializerOptions {
|
||||
xmlMode?: boolean | 'foreign';
|
||||
decodeEntities?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders a DOM node or an array of DOM nodes to a string.
|
||||
*
|
||||
* Can be thought of as the equivalent of the `outerHTML` of the passed node(s).
|
||||
*
|
||||
* @param nodes Nodes to be rendered.
|
||||
* @param options Changes serialization behavior
|
||||
*/
|
||||
export default function render(
|
||||
nodes: {} | {}[],
|
||||
options?: DomSerializerOptions
|
||||
): string;
|
||||
183
node_modules/dom-serializer/index.js
generated
vendored
183
node_modules/dom-serializer/index.js
generated
vendored
@@ -1,183 +0,0 @@
|
||||
/*
|
||||
Module dependencies
|
||||
*/
|
||||
var ElementType = require('domelementtype');
|
||||
var entities = require('entities');
|
||||
|
||||
/* mixed-case SVG and MathML tags & attributes
|
||||
recognized by the HTML parser, see
|
||||
https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign
|
||||
*/
|
||||
var foreignNames = require('./foreignNames.json');
|
||||
foreignNames.elementNames.__proto__ = null; /* use as a simple dictionary */
|
||||
foreignNames.attributeNames.__proto__ = null;
|
||||
|
||||
var unencodedElements = {
|
||||
__proto__: null,
|
||||
style: true,
|
||||
script: true,
|
||||
xmp: true,
|
||||
iframe: true,
|
||||
noembed: true,
|
||||
noframes: true,
|
||||
plaintext: true,
|
||||
noscript: true
|
||||
};
|
||||
|
||||
/*
|
||||
Format attributes
|
||||
*/
|
||||
function formatAttrs(attributes, opts) {
|
||||
if (!attributes) return;
|
||||
|
||||
var output = '';
|
||||
var value;
|
||||
|
||||
// Loop through the attributes
|
||||
for (var key in attributes) {
|
||||
value = attributes[key];
|
||||
if (output) {
|
||||
output += ' ';
|
||||
}
|
||||
|
||||
if (opts.xmlMode === 'foreign') {
|
||||
/* fix up mixed-case attribute names */
|
||||
key = foreignNames.attributeNames[key] || key;
|
||||
}
|
||||
output += key;
|
||||
if ((value !== null && value !== '') || opts.xmlMode) {
|
||||
output +=
|
||||
'="' +
|
||||
(opts.decodeEntities
|
||||
? entities.encodeXML(value)
|
||||
: value.replace(/\"/g, '"')) +
|
||||
'"';
|
||||
}
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
/*
|
||||
Self-enclosing tags (stolen from node-htmlparser)
|
||||
*/
|
||||
var singleTag = {
|
||||
__proto__: null,
|
||||
area: true,
|
||||
base: true,
|
||||
basefont: true,
|
||||
br: true,
|
||||
col: true,
|
||||
command: true,
|
||||
embed: true,
|
||||
frame: true,
|
||||
hr: true,
|
||||
img: true,
|
||||
input: true,
|
||||
isindex: true,
|
||||
keygen: true,
|
||||
link: true,
|
||||
meta: true,
|
||||
param: true,
|
||||
source: true,
|
||||
track: true,
|
||||
wbr: true
|
||||
};
|
||||
|
||||
var render = (module.exports = function(dom, opts) {
|
||||
if (!Array.isArray(dom) && !dom.cheerio) dom = [dom];
|
||||
opts = opts || {};
|
||||
|
||||
var output = '';
|
||||
|
||||
for (var i = 0; i < dom.length; i++) {
|
||||
var elem = dom[i];
|
||||
|
||||
if (elem.type === 'root') output += render(elem.children, opts);
|
||||
else if (ElementType.isTag(elem)) output += renderTag(elem, opts);
|
||||
else if (elem.type === ElementType.Directive)
|
||||
output += renderDirective(elem);
|
||||
else if (elem.type === ElementType.Comment) output += renderComment(elem);
|
||||
else if (elem.type === ElementType.CDATA) output += renderCdata(elem);
|
||||
else output += renderText(elem, opts);
|
||||
}
|
||||
|
||||
return output;
|
||||
});
|
||||
|
||||
var foreignModeIntegrationPoints = [
|
||||
'mi',
|
||||
'mo',
|
||||
'mn',
|
||||
'ms',
|
||||
'mtext',
|
||||
'annotation-xml',
|
||||
'foreignObject',
|
||||
'desc',
|
||||
'title'
|
||||
];
|
||||
|
||||
function renderTag(elem, opts) {
|
||||
// Handle SVG / MathML in HTML
|
||||
if (opts.xmlMode === 'foreign') {
|
||||
/* fix up mixed-case element names */
|
||||
elem.name = foreignNames.elementNames[elem.name] || elem.name;
|
||||
/* exit foreign mode at integration points */
|
||||
if (
|
||||
elem.parent &&
|
||||
foreignModeIntegrationPoints.indexOf(elem.parent.name) >= 0
|
||||
)
|
||||
opts = Object.assign({}, opts, { xmlMode: false });
|
||||
}
|
||||
if (!opts.xmlMode && ['svg', 'math'].indexOf(elem.name) >= 0) {
|
||||
opts = Object.assign({}, opts, { xmlMode: 'foreign' });
|
||||
}
|
||||
|
||||
var tag = '<' + elem.name;
|
||||
var attribs = formatAttrs(elem.attribs, opts);
|
||||
|
||||
if (attribs) {
|
||||
tag += ' ' + attribs;
|
||||
}
|
||||
|
||||
if (opts.xmlMode && (!elem.children || elem.children.length === 0)) {
|
||||
tag += '/>';
|
||||
} else {
|
||||
tag += '>';
|
||||
if (elem.children) {
|
||||
tag += render(elem.children, opts);
|
||||
}
|
||||
|
||||
if (!singleTag[elem.name] || opts.xmlMode) {
|
||||
tag += '</' + elem.name + '>';
|
||||
}
|
||||
}
|
||||
|
||||
return tag;
|
||||
}
|
||||
|
||||
function renderDirective(elem) {
|
||||
return '<' + elem.data + '>';
|
||||
}
|
||||
|
||||
function renderText(elem, opts) {
|
||||
var data = elem.data || '';
|
||||
|
||||
// if entities weren't decoded, no need to encode them back
|
||||
if (
|
||||
opts.decodeEntities &&
|
||||
!(elem.parent && elem.parent.name in unencodedElements)
|
||||
) {
|
||||
data = entities.encodeXML(data);
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function renderCdata(elem) {
|
||||
return '<![CDATA[' + elem.children[0].data + ']]>';
|
||||
}
|
||||
|
||||
function renderComment(elem) {
|
||||
return '<!--' + elem.data + '-->';
|
||||
}
|
||||
11
node_modules/dom-serializer/node_modules/domelementtype/LICENSE
generated
vendored
11
node_modules/dom-serializer/node_modules/domelementtype/LICENSE
generated
vendored
@@ -1,11 +0,0 @@
|
||||
Copyright (c) Felix Böhm
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
48
node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts
generated
vendored
48
node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts
generated
vendored
@@ -1,48 +0,0 @@
|
||||
/** Types of elements found in htmlparser2's DOM */
|
||||
export declare enum ElementType {
|
||||
/** Type for the root element of a document */
|
||||
Root = "root",
|
||||
/** Type for Text */
|
||||
Text = "text",
|
||||
/** Type for <? ... ?> */
|
||||
Directive = "directive",
|
||||
/** Type for <!-- ... --> */
|
||||
Comment = "comment",
|
||||
/** Type for <script> tags */
|
||||
Script = "script",
|
||||
/** Type for <style> tags */
|
||||
Style = "style",
|
||||
/** Type for Any tag */
|
||||
Tag = "tag",
|
||||
/** Type for <![CDATA[ ... ]]> */
|
||||
CDATA = "cdata",
|
||||
/** Type for <!doctype ...> */
|
||||
Doctype = "doctype"
|
||||
}
|
||||
/**
|
||||
* Tests whether an element is a tag or not.
|
||||
*
|
||||
* @param elem Element to test
|
||||
*/
|
||||
export declare function isTag(elem: {
|
||||
type: ElementType;
|
||||
}): boolean;
|
||||
/** Type for the root element of a document */
|
||||
export declare const Root = ElementType.Root;
|
||||
/** Type for Text */
|
||||
export declare const Text = ElementType.Text;
|
||||
/** Type for <? ... ?> */
|
||||
export declare const Directive = ElementType.Directive;
|
||||
/** Type for <!-- ... --> */
|
||||
export declare const Comment = ElementType.Comment;
|
||||
/** Type for <script> tags */
|
||||
export declare const Script = ElementType.Script;
|
||||
/** Type for <style> tags */
|
||||
export declare const Style = ElementType.Style;
|
||||
/** Type for Any tag */
|
||||
export declare const Tag = ElementType.Tag;
|
||||
/** Type for <![CDATA[ ... ]]> */
|
||||
export declare const CDATA = ElementType.CDATA;
|
||||
/** Type for <!doctype ...> */
|
||||
export declare const Doctype = ElementType.Doctype;
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts.map
generated
vendored
1
node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts.map
generated
vendored
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,oBAAY,WAAW;IACnB,8CAA8C;IAC9C,IAAI,SAAS;IACb,oBAAoB;IACpB,IAAI,SAAS;IACb,yBAAyB;IACzB,SAAS,cAAc;IACvB,4BAA4B;IAC5B,OAAO,YAAY;IACnB,6BAA6B;IAC7B,MAAM,WAAW;IACjB,4BAA4B;IAC5B,KAAK,UAAU;IACf,uBAAuB;IACvB,GAAG,QAAQ;IACX,iCAAiC;IACjC,KAAK,UAAU;IACf,8BAA8B;IAC9B,OAAO,YAAY;CACtB;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG,OAAO,CAM1D;AAGD,8CAA8C;AAC9C,eAAO,MAAM,IAAI,mBAAmB,CAAC;AACrC,oBAAoB;AACpB,eAAO,MAAM,IAAI,mBAAmB,CAAC;AACrC,yBAAyB;AACzB,eAAO,MAAM,SAAS,wBAAwB,CAAC;AAC/C,4BAA4B;AAC5B,eAAO,MAAM,OAAO,sBAAsB,CAAC;AAC3C,6BAA6B;AAC7B,eAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,4BAA4B;AAC5B,eAAO,MAAM,KAAK,oBAAoB,CAAC;AACvC,uBAAuB;AACvB,eAAO,MAAM,GAAG,kBAAkB,CAAC;AACnC,iCAAiC;AACjC,eAAO,MAAM,KAAK,oBAAoB,CAAC;AACvC,8BAA8B;AAC9B,eAAO,MAAM,OAAO,sBAAsB,CAAC"}
|
||||
55
node_modules/dom-serializer/node_modules/domelementtype/lib/index.js
generated
vendored
55
node_modules/dom-serializer/node_modules/domelementtype/lib/index.js
generated
vendored
@@ -1,55 +0,0 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0;
|
||||
/** Types of elements found in htmlparser2's DOM */
|
||||
var ElementType;
|
||||
(function (ElementType) {
|
||||
/** Type for the root element of a document */
|
||||
ElementType["Root"] = "root";
|
||||
/** Type for Text */
|
||||
ElementType["Text"] = "text";
|
||||
/** Type for <? ... ?> */
|
||||
ElementType["Directive"] = "directive";
|
||||
/** Type for <!-- ... --> */
|
||||
ElementType["Comment"] = "comment";
|
||||
/** Type for <script> tags */
|
||||
ElementType["Script"] = "script";
|
||||
/** Type for <style> tags */
|
||||
ElementType["Style"] = "style";
|
||||
/** Type for Any tag */
|
||||
ElementType["Tag"] = "tag";
|
||||
/** Type for <![CDATA[ ... ]]> */
|
||||
ElementType["CDATA"] = "cdata";
|
||||
/** Type for <!doctype ...> */
|
||||
ElementType["Doctype"] = "doctype";
|
||||
})(ElementType = exports.ElementType || (exports.ElementType = {}));
|
||||
/**
|
||||
* Tests whether an element is a tag or not.
|
||||
*
|
||||
* @param elem Element to test
|
||||
*/
|
||||
function isTag(elem) {
|
||||
return (elem.type === ElementType.Tag ||
|
||||
elem.type === ElementType.Script ||
|
||||
elem.type === ElementType.Style);
|
||||
}
|
||||
exports.isTag = isTag;
|
||||
// Exports for backwards compatibility
|
||||
/** Type for the root element of a document */
|
||||
exports.Root = ElementType.Root;
|
||||
/** Type for Text */
|
||||
exports.Text = ElementType.Text;
|
||||
/** Type for <? ... ?> */
|
||||
exports.Directive = ElementType.Directive;
|
||||
/** Type for <!-- ... --> */
|
||||
exports.Comment = ElementType.Comment;
|
||||
/** Type for <script> tags */
|
||||
exports.Script = ElementType.Script;
|
||||
/** Type for <style> tags */
|
||||
exports.Style = ElementType.Style;
|
||||
/** Type for Any tag */
|
||||
exports.Tag = ElementType.Tag;
|
||||
/** Type for <![CDATA[ ... ]]> */
|
||||
exports.CDATA = ElementType.CDATA;
|
||||
/** Type for <!doctype ...> */
|
||||
exports.Doctype = ElementType.Doctype;
|
||||
45
node_modules/dom-serializer/node_modules/domelementtype/package.json
generated
vendored
45
node_modules/dom-serializer/node_modules/domelementtype/package.json
generated
vendored
@@ -1,45 +0,0 @@
|
||||
{
|
||||
"name": "domelementtype",
|
||||
"version": "2.2.0",
|
||||
"description": "all the types of nodes in htmlparser2's dom",
|
||||
"author": "Felix Boehm <me@feedic.com>",
|
||||
"license": "BSD-2-Clause",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/fb55"
|
||||
}
|
||||
],
|
||||
"sideEffects": false,
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"files": [
|
||||
"lib/**/*"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/fb55/domelementtype.git"
|
||||
},
|
||||
"keywords": [
|
||||
"dom",
|
||||
"htmlparser2"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "npm run lint && prettier --check **/*.{ts,json,md}",
|
||||
"lint": "eslint src",
|
||||
"format": "prettier --write **/*.{ts,json,md}",
|
||||
"build": "tsc",
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 4
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^4.1.0",
|
||||
"@typescript-eslint/parser": "^4.1.0",
|
||||
"eslint": "^7.9.0",
|
||||
"eslint-config-prettier": "^6.0.0",
|
||||
"prettier": "^2.1.1",
|
||||
"typescript": "^4.0.2"
|
||||
}
|
||||
}
|
||||
1
node_modules/dom-serializer/node_modules/domelementtype/readme.md
generated
vendored
1
node_modules/dom-serializer/node_modules/domelementtype/readme.md
generated
vendored
@@ -1 +0,0 @@
|
||||
All the types of nodes in htmlparser2's DOM.
|
||||
40
node_modules/dom-serializer/package.json
generated
vendored
40
node_modules/dom-serializer/package.json
generated
vendored
@@ -1,40 +0,0 @@
|
||||
{
|
||||
"name": "dom-serializer",
|
||||
"version": "0.2.2",
|
||||
"description": "render dom nodes to string",
|
||||
"author": "Felix Boehm <me@feedic.com>",
|
||||
"keywords": [
|
||||
"html",
|
||||
"xml",
|
||||
"render"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/cheeriojs/dom-renderer.git"
|
||||
},
|
||||
"main": "./index.js",
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"foreignNames.json"
|
||||
],
|
||||
"dependencies": {
|
||||
"domelementtype": "^2.0.1",
|
||||
"entities": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cheerio": "^1.0.0-rc.2",
|
||||
"expect.js": "~0.3.1",
|
||||
"htmlparser2": "^3.10.0",
|
||||
"lodash": "^4.17.11",
|
||||
"mocha": "^6.2.0",
|
||||
"xyz": "^3.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha test.js"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
Reference in New Issue
Block a user