parrot-mocker
Advanced tools
Comparing version 1.1.0 to 1.1.2
{ | ||
"manifest_version": 2, | ||
"name": "ParrotMocker", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "Intercept h5/node.js requests and mock reponses", | ||
@@ -6,0 +6,0 @@ "icons": { |
{ | ||
"name": "parrot-mocker", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "Intercept requests to the mock server", | ||
@@ -5,0 +5,0 @@ "browser": "./dist/parrot.js", |
@@ -7,2 +7,10 @@ # parrot-mocker | ||
### Chrome plugin | ||
Install from [Chrome web store](https://chrome.google.com/webstore/detail/parrotmocker/hdhamekapmnmceohfdbfelofidflfelm). | ||
Or load the plugin by following Google's [development guide](https://developer.chrome.com/extensions/getstarted#unpacked). The plugin folder is `crx`. | ||
If the development mode plugin is disabled by Chrome, you can uninstall and install it again. | ||
### Standalone | ||
@@ -26,8 +34,2 @@ | ||
### Chrome plugin | ||
Sorry for that I don't have a Google developer account to publish the plugin. But you can load the plugin by following Google's [development guide](https://developer.chrome.com/extensions/getstarted#unpacked). The plugin folder is `crx`. | ||
If the plugin is disabled by Chrome, you can install it again. | ||
### Node.js | ||
@@ -63,2 +65,6 @@ | ||
## License | ||
MIT | ||
## Acknowledgement | ||
@@ -65,0 +71,0 @@ |
@@ -13,3 +13,2 @@ var url = require('url'); | ||
if (window[cst.GLOBAL_LOCK]) return; | ||
window[cst.GLOBAL_LOCK] = true; | ||
@@ -21,2 +20,3 @@ var query = url.parse(location.href, true).query; | ||
enableIntercept(); | ||
window[cst.GLOBAL_LOCK] = true; | ||
} | ||
@@ -23,0 +23,0 @@ // update cookies (invalid values mean disabled) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
175699
23
3007
72
3