Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
esm.sh
std
cdnup
Check for outdated imports from CDNs in your project.
It works by requesting every URL without version and expects a redirect to the latest version.
Synopsis
deno run https://deno.land/x/cdnup/mod.ts [OPTION]... [DIRECTORY]Options
-h,--helpPrint this help message and exit.
-v,--verbosePrint debug information.
-w,--writeWrite the latest found versions to the files.
-i,--interactiveRun in interactive mode. Ask for confirmation before writing each change.
-u,--max-update RELEASETry to find updates up to the specified release type. This doesn’t work for all CDNs. Possible values are: patch, minor, major. Default: major.
Example
deno run --allow-read --allow-net https://deno.land/x/cdnup/mod.tscheckUpdate.ts:0 https://deno.land/std/semver/format.ts 0.218.2 -> 0.220.1 (major)
checkUpdate.ts:1 https://deno.land/std/semver/less_or_equal.ts 0.218.2 -> 0.220.1 (major)
checkUpdate.ts:2 https://deno.land/std/semver/parse.ts 0.218.2 -> 0.220.1 (major)
checkUpdate.ts:3 https://deno.land/std/log/error.ts 0.219.1 -> 0.220.1 (major)
checkUpdate.ts:4 https://deno.land/std/log/mod.ts 0.219.1 -> 0.220.1 (major)
listUpdates.ts:0 https://deno.land/std/fs/walk.ts 0.219.1 -> 0.220.1 (major)
listUpdates.ts:1 https://deno.land/std/log/info.ts 0.219.1 -> 0.220.1 (major)