This commit is contained in:
hatuhn
2019-09-13 09:45:04 +07:00
parent f14a34ba19
commit 558fb07261
16790 changed files with 0 additions and 1642370 deletions

View File

@@ -1,7 +0,0 @@
Copyright 2018 Steve Mao
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.

View File

@@ -1,34 +0,0 @@
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
> Regular expression for matching HTML comments
## Install
```sh
$ npm install --save html-comment-regex
```
## Usage
```js
var htmlCommentRegex = require('html-comment-regex');
htmlCommentRegex.test('<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><html lang="en"><head><meta charset="UTF-8"><title>Document</title></head><body></body></html>');
//=> true
htmlCommentRegex.test('<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Document</title></head><body></body></html>');
//=> false
```
## License
MIT © [Steve Mao](https://github.com/stevemao)
[npm-image]: https://badge.fury.io/js/html-comment-regex.svg
[npm-url]: https://npmjs.org/package/html-comment-regex
[travis-image]: https://travis-ci.org/stevemao/html-comment-regex.svg?branch=master
[travis-url]: https://travis-ci.org/stevemao/html-comment-regex

View File

@@ -1,2 +0,0 @@
'use strict';
module.exports = /<!--([\s\S]*?)-->/g;

View File

@@ -1,74 +0,0 @@
{
"_from": "html-comment-regex@^1.1.0",
"_id": "html-comment-regex@1.1.2",
"_inBundle": false,
"_integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==",
"_location": "/html-comment-regex",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "html-comment-regex@^1.1.0",
"name": "html-comment-regex",
"escapedName": "html-comment-regex",
"rawSpec": "^1.1.0",
"saveSpec": null,
"fetchSpec": "^1.1.0"
},
"_requiredBy": [
"/is-svg"
],
"_resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz",
"_shasum": "97d4688aeb5c81886a364faa0cad1dda14d433a7",
"_spec": "html-comment-regex@^1.1.0",
"_where": "/Applications/XAMPP/xamppfiles/htdocs/wordpress/t-latehome/wp-content/plugins/opal-estate-pro/node_modules/is-svg",
"author": {
"name": "Steve Mao",
"email": "maochenyan@gmail.com",
"url": "https://github.com/stevemao"
},
"bugs": {
"url": "https://github.com/stevemao/html-comment-regex/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Regular expression for matching HTML comments",
"devDependencies": {
"jscs": "^1.11.3",
"jshint": "^2.6.3",
"mocha": "*"
},
"files": [
"index.js"
],
"homepage": "https://github.com/stevemao/html-comment-regex",
"keywords": [
"html-comment-regex",
"text",
"string",
"regex",
"regexp",
"re",
"match",
"test",
"find",
"pattern",
"comment",
"comments",
"html",
"HTML",
"HyperText Markup Language"
],
"license": "MIT",
"name": "html-comment-regex",
"repository": {
"type": "git",
"url": "git+https://github.com/stevemao/html-comment-regex.git"
},
"scripts": {
"lint": "jshint *.js --exclude node_modules && jscs *.js",
"test": "npm run-script lint && mocha"
},
"version": "1.1.2"
}