vue-md-loader
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,8 +0,9 @@ | ||
const loaderUtils = require('loader-utils') | ||
const Parser = require('./src/parser') | ||
module.exports = function (source) { | ||
this.cacheable && this.cacheable() | ||
const options = loaderUtils.getOptions(this) | ||
if (this.cacheable) { | ||
this.cacheable() | ||
} | ||
const options = this.getOptions() | ||
return new Parser(options).parse(source) | ||
} |
{ | ||
"name": "vue-md-loader", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Webpack loader for converting Markdown files to ALIVE Vue components.", | ||
"main": "index.js", | ||
"nyc": { | ||
"reporter": [ | ||
"lcov", | ||
"text-summary" | ||
], | ||
"report-dir": "./test/coverage/" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"src" | ||
], | ||
"scripts": { | ||
"dev:example": "cd example && cross-env NODE_ENV=development webpack-dev-server --hot --port 8888 --static .", | ||
"build:example": "cd example && cross-env NODE_ENV=production webpack", | ||
"lint": "eslint --ext .js,.vue --config .eslintrc.js index.js src example", | ||
"lint": "eslint --ext .js,.vue .", | ||
"lint:fix": "npm run lint -- --fix", | ||
"test": "nyc mocha", | ||
"coveralls": "cat test/coverage/lcov.info | ./node_modules/.bin/coveralls" | ||
"test": "jest --coverage" | ||
}, | ||
@@ -41,39 +37,39 @@ "repository": { | ||
"homepage": "https://github.com/wxsms/vue-md-loader#readme", | ||
"jest": { | ||
"collectCoverageFrom": [ | ||
"src/**/*", | ||
"!tests/**/*" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-env": "7.15.0", | ||
"@babel/preset-env": "7.16.0", | ||
"babel-core": "6.26.3", | ||
"babel-eslint": "10.1.0", | ||
"babel-loader": "8.2.2", | ||
"chai": "4.3.4", | ||
"babel-loader": "8.2.3", | ||
"cheerio": "1.0.0-rc.10", | ||
"coveralls": "3.1.1", | ||
"cross-env": "7.0.3", | ||
"css-loader": "6.2.0", | ||
"eslint": "7.32.0", | ||
"css-loader": "6.5.0", | ||
"eslint": "8.1.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-loader": "4.0.2", | ||
"eslint-plugin-html": "6.1.2", | ||
"eslint-plugin-import": "2.24.1", | ||
"eslint-plugin-mocha": "9.0.0", | ||
"eslint-plugin-html": "6.2.0", | ||
"eslint-plugin-import": "2.25.2", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-prettier": "3.4.1", | ||
"eslint-plugin-promise": "5.1.0", | ||
"eslint-plugin-vue": "7.16.0", | ||
"markdown-it-anchor": "8.1.2", | ||
"mocha": "9.1.0", | ||
"nyc": "15.1.0", | ||
"prettier": "2.3.2", | ||
"style-loader": "3.2.1", | ||
"eslint-plugin-prettier": "4.0.0", | ||
"eslint-plugin-promise": "5.1.1", | ||
"eslint-plugin-vue": "8.0.3", | ||
"jest": "27.3.1", | ||
"markdown-it-anchor": "8.4.1", | ||
"prettier": "2.4.1", | ||
"style-loader": "3.3.1", | ||
"vue": "2.6.14", | ||
"vue-loader": "15.9.8", | ||
"vue-template-compiler": "2.6.14", | ||
"webpack": "5.51.1", | ||
"webpack-cli": "4.8.0", | ||
"webpack-dev-server": "4.0.0" | ||
"webpack": "5.61.0", | ||
"webpack-cli": "4.9.1", | ||
"webpack-dev-server": "4.4.0" | ||
}, | ||
"dependencies": { | ||
"highlight.js": "^11.0.0", | ||
"loader-utils": "^2.0.0", | ||
"markdown-it": "^12.0.0" | ||
} | ||
} |
@@ -16,2 +16,3 @@ # vue-md-loader | ||
* **Live demo** support. Extremely useful for document examples. | ||
* Vue 3 & vue-cli usage support. | ||
* Hot reload. | ||
@@ -18,0 +19,0 @@ |
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
2
25
295
16603
5
249
- Removedloader-utils@^2.0.0
- Removedbig.js@5.2.2(transitive)
- Removedemojis-list@3.0.0(transitive)
- Removedjson5@2.2.3(transitive)
- Removedloader-utils@2.0.4(transitive)