{"package":"swig","ecosystem":"npm","latest_version":"1.4.2","description":"A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/paularmstrong/swig","repository":"http://github.com/paularmstrong/swig","downloads_weekly":20959,"health":{"score":15,"risk":"critical","breakdown":{"maintenance":0,"popularity":10,"security":20,"maturity":15,"community":0},"deprecated":true,"max_score":100},"vulnerabilities":{"count":1,"critical":0,"high":1,"medium":0,"low":0,"details":[{"vuln_id":"CVE-2023-25345","severity":"high","summary":"Arbitrary local file read vulnerability during template rendering ","affected_versions":"<=2.0.4|<=1.4.2","fixed_version":null,"source":"osv","published_at":"2023-03-15T21:30:25Z"}]},"versions":{"latest":"1.4.2","total_count":53,"recent":["0.13.3","0.13.4","0.13.5","0.14.0","1.0.0-pre1","1.0.0-pre2","1.0.0-pre3","1.0.0-rc1","1.0.0-rc2","1.0.0-rc3","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.3.0","1.3.2","1.4.0","1.4.1","1.4.2"]},"metadata":{"deprecated":true,"deprecated_message":"This package is no longer maintained","maintainers_count":1,"first_published":"2011-09-02T01:22:44.720Z","last_published":"2014-08-04T19:04:32.009Z","dependencies_count":2,"dependencies":["uglify-js","optimist"]},"github_stats":{"stars":3090,"forks":429,"open_issues":91,"is_archived":true,"pushed_at":"2017-06-13T02:06:30Z","subscribers_count":0},"bundle":null,"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/swig"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"find_alternative","issues":["Moderate health score (15/100) — verify manually","1 high severity vulnerabilities","Package is deprecated"],"use_version":"1.4.2","version_hint":null,"summary":"swig is deprecated — find an alternative"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/swig","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/swig","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/swig","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate"},"_cache":"hit","_response_ms":0}