-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b83352
commit 09b002c
Showing
3 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,10 +157,10 @@ sri-check -i use.typekit.net https://www.4armed.com/ -g | |
|
||
### STDIN | ||
|
||
sri-check also supports reading input from STDIN, like all good CLI tools. :-) Use the `-s` or `--stdin` flag to do this. Note that you still need to specify a URL otherwise sri-check doesn't know what site you are auditing and can't add it to the allowlist. It means you could pipe the output of curl through it, for example. | ||
sri-check also supports reading input from STDIN, like all good CLI tools. :-) Simply specify the target URL as `-` to do this. It means you could pipe the output of curl through it, for example. | ||
|
||
```bash | ||
curl -s https://www.4armed.com/ | sri-check -s https://www.4armed.com/ | ||
curl -s https://www.4armed.com/ | sri-check - | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.js"></script> | ||
<link href="https://use.typekit.net/vlp2azz.css" rel="stylesheet"/> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.css" rel="stylesheet"/> | ||
|
@@ -169,7 +169,7 @@ curl -s https://www.4armed.com/ | sri-check -s https://www.4armed.com/ | |
Or you might have some HTML you've saved from somewhere into a file. | ||
|
||
```bash | ||
cat /tmp/4armed.html | sri-check -s https://www.4armed.com | ||
cat /tmp/4armed.html | sri-check - | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.js"></script> | ||
<link href="https://use.typekit.net/vlp2azz.css" rel="stylesheet"/> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/swiper-bundle.min.css" rel="stylesheet"/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.6.5" | ||
__version__ = "1.7.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters