unexpected-messy
Advanced tools
Comparing version 9.0.0 to 10.0.0
module.exports = function isRegExp(re) { | ||
var s; | ||
try { | ||
s = '' + re; | ||
s = `${re}`; | ||
} catch (e) { | ||
@@ -6,0 +6,0 @@ return false; |
{ | ||
"name": "unexpected-messy", | ||
"version": "9.0.0", | ||
"version": "10.0.0", | ||
"description": "Unexpected plugin for the messy library", | ||
@@ -14,10 +14,11 @@ "main": "lib/unexpectedMessy.js", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"lint": "eslint . && prettier --check '**/*.{js,md}'", | ||
"test": "mocha && mocha $(find documentation -name '*.md')", | ||
"prepublish": "browserify -p bundle-collapser/plugin -e lib/unexpectedMessy -s unexpectedMessy > unexpectedMessy.min.js", | ||
"ci": "npm test && npm run lint && npm run coverage && npm run generate-site", | ||
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html", | ||
"test:ci": "npm run coverage && npm run generate-site", | ||
"coverage": "nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html", | ||
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js", | ||
"update-examples": "generate-site --require ./bootstrap-unexpected-markdown.js --update-examples", | ||
"deploy-site": "deploy-site.sh" | ||
"deploy-site": "deploy-site.sh", | ||
"preversion": "offline-github-changelog --next=${npm_package_version} > CHANGELOG.md && git add CHANGELOG.md" | ||
}, | ||
@@ -45,20 +46,26 @@ "repository": { | ||
"messy": "^6.16.0", | ||
"unexpected": "^10.27.0 || ^11.0.0-3" | ||
"unexpected": "^10.27.0 || ^11.0.0-3 || ^12.0.0" | ||
}, | ||
"devDependencies": { | ||
"browserify": "^16.2.0", | ||
"browserify": "^17.0.0", | ||
"bundle-collapser": "^1.3.0", | ||
"coveralls": "^3.0.0", | ||
"eslint": "^6.0.0", | ||
"eslint-config-pretty-standard": "^2.0.0", | ||
"eslint-plugin-prettier": "^3.0.1", | ||
"mocha": "^6.0.0", | ||
"nyc": "^14.0.0", | ||
"prettier": "^1.15.3", | ||
"unexpected": "^11.5.0", | ||
"eslint": "^7.0.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-config-standard": "^16.0.1", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-mocha": "^8.0.0", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"mocha": "^8.2.1", | ||
"nyc": "^15.0.0", | ||
"offline-github-changelog": "^2.0.0", | ||
"prettier": "~2.1.0", | ||
"unexpected": "^12.0.0", | ||
"unexpected-documentation-site-generator": "^6.0.0", | ||
"unexpected-markdown": "^3.0.0" | ||
"unexpected-markdown": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"magicpen-media": "^1.5.0", | ||
"magicpen-media": "^2.0.0", | ||
"messy": "^6.16.0", | ||
@@ -65,0 +72,0 @@ "minimist": "^1.2.0", |
@@ -1,3 +0,2 @@ | ||
Unexpected-messy | ||
================ | ||
# Unexpected-messy | ||
@@ -11,6 +10,5 @@ Plugin for [Unexpected](https://github.com/unexpectedjs/unexpected) that adds the ability to inspect and match instances of the HttpRequest, HttpResponse, HttpExchange, HttpConversation, Mail, and Message classes from the [Messy library](https://github.com/papandreou/messy). It's originally built for [unexpected-express](https://github.com/unexpectedjs/unexpected-express), [unexpected-mitm](https://github.com/unexpectedjs/unexpected-mitm) and [unexpected-http](https://github.com/unexpectedjs/unexpected-http), but can also be used standalone. | ||
License | ||
------- | ||
## License | ||
Unexpected-messy is licensed under a standard 3-clause BSD license | ||
-- see the `LICENSE` file for details. |
Sorry, the diff of this file is too big to display
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
1598715
7
37233
18
14
+ Addeddiff@5.2.0(transitive)
+ Addedmagicpen-media@2.0.0(transitive)
+ Addedunexpected@12.0.5(transitive)
- Removeddiff@4.0.2(transitive)
- Removedmagicpen-media@1.5.2(transitive)
- Removedunexpected@11.15.1(transitive)
Updatedmagicpen-media@^2.0.0