@mdx-js/loader
Advanced tools
Comparing version 0.6.0 to 0.7.0-0
const { getOptions } = require('loader-utils') | ||
const mdx = require('@mdx-js/mdx') | ||
module.exports = function(content) { | ||
module.exports = async function(content) { | ||
const callback = this.async() | ||
const options = getOptions(this) | ||
const result = mdx(content, options || {}) | ||
const result = await mdx(content, options || {}) | ||
@@ -10,0 +10,0 @@ const code = ` |
{ | ||
"name": "@mdx-js/loader", | ||
"version": "0.6.0", | ||
"version": "0.7.0-0", | ||
"license": "MIT", | ||
@@ -17,3 +17,6 @@ "repository": "mdx-js/mdx", | ||
"loader" | ||
] | ||
], | ||
"dependencies": { | ||
"@mdx-js/tag": "^0.7.0-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
2137
1
+ Added@mdx-js/tag@^0.7.0-0
+ Added@mdx-js/tag@0.7.2(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@16.14.0(transitive)
+ Addedreact-is@16.13.1(transitive)