文件名称:outdated-pods:从`pod outdated`命令的输出中提取过时的Pod信息
文件大小:5KB
文件格式:ZIP
更新时间:2024-05-19 06:26:49
JavaScript
过时的豆荚 从命令的输出中提取过时的信息 const outdatedPods = require ( 'outdated-pods' ) ; const stdout = ` - Foo 4.12.1 -> 4.12.1 (latest version 4.15.0) - baz+qux (unused) -> 2.8.3 (latest version 2.9.0) ` ; outdatedPods ( stdout ) /* => [ { name: 'Foo', current: '4.12.1', wanted: '4.12.1', latest: '4.15.0' }, { name: 'baz+qux', current: '(unused)', wanted:
【文件预览】:
outdated-pods-master
----.travis.yml(230B)
----index.js(719B)
----test.js(1KB)
----package.json(993B)
----LICENSE(1KB)
----.gitignore(22B)
----README.md(2KB)
----.editorconfig(188B)
----.gitattributes(12B)