gulp-parser-inline
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -0,1 +1,8 @@ | ||
# [1.5.0](https://github.com/searchfe/gulp-parser-inline/compare/v1.4.0...v1.5.0) (2019-11-04) | ||
### Features | ||
* add san-inline ([5ac4d72](https://github.com/searchfe/gulp-parser-inline/commit/5ac4d72d8b440a90abb6f8a7d483e4071e87af8d)) | ||
# [1.4.0](https://github.com/searchfe/gulp-parser-inline/compare/v1.3.0...v1.4.0) (2019-10-28) | ||
@@ -2,0 +9,0 @@ |
@@ -25,2 +25,4 @@ "use strict"; | ||
var parseCss_1 = require("./parseCss"); | ||
var san_inline_1 = require("./san-inline"); | ||
exports.parseSan = san_inline_1.parseSan; | ||
var utils_1 = require("./utils"); | ||
@@ -27,0 +29,0 @@ var debug_1 = require("debug"); |
{ | ||
"name": "gulp-parser-inline", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"discription": "gulp-parser-inline", | ||
@@ -75,2 +75,3 @@ "scripts": { | ||
"dependencies": { | ||
"@types/escape-html": "^0.0.20", | ||
"@types/less": "^3.0.0", | ||
@@ -80,3 +81,5 @@ "@types/replace-ext": "0.0.27", | ||
"debug": "^4.1.1", | ||
"escape-html": "^1.0.3", | ||
"gulp-util": "^3.0.8", | ||
"html-minifier": "^4.0.0", | ||
"less": "^3.9.0", | ||
@@ -110,3 +113,4 @@ "replace-ext": "^1.0.0", | ||
"*.json", | ||
"*.md" | ||
"*.md", | ||
"!text.d.ts" | ||
], | ||
@@ -113,0 +117,0 @@ "nyc": { |
@@ -33,2 +33,3 @@ # gulp-parser-inline | ||
const parse = require('gulp-parser-inline').parseInline; | ||
const sanInline = require('gulp-parser-inline').parseSan; | ||
// parse tpl | ||
@@ -68,3 +69,8 @@ gulp.task('build:tpl', function (stream) { | ||
}); | ||
// parseSan | ||
gulp.task('san', ()=>{ | ||
return gulp.src(['./test/*.san.ts']) | ||
.pipe(sanInline({basePath: path.resolve('./test')})) | ||
.pipe(gulp.dest('./output')); | ||
}); | ||
``` | ||
@@ -71,0 +77,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
589953
15
17496
149
13
5
+ Added@types/escape-html@^0.0.20
+ Addedescape-html@^1.0.3
+ Addedhtml-minifier@^4.0.0
+ Added@types/escape-html@0.0.20(transitive)
+ Addedcamel-case@3.0.0(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedescape-html@1.0.3(transitive)
+ Addedhe@1.2.0(transitive)
+ Addedhtml-minifier@4.0.0(transitive)
+ Addedlower-case@1.1.4(transitive)
+ Addedno-case@2.3.2(transitive)
+ Addedparam-case@2.1.1(transitive)
+ Addedrelateurl@0.2.7(transitive)
+ Addedupper-case@1.1.3(transitive)