jseye 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jseye-1.0.3/jseye.egg-info → jseye-1.0.4}/PKG-INFO +1 -1
- {jseye-1.0.3 → jseye-1.0.4}/jseye/__init__.py +1 -1
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/js_filter.py +15 -1
- {jseye-1.0.3 → jseye-1.0.4/jseye.egg-info}/PKG-INFO +1 -1
- {jseye-1.0.3 → jseye-1.0.4}/pyproject.toml +1 -1
- {jseye-1.0.3 → jseye-1.0.4}/LICENSE +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/MANIFEST.in +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/README.md +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/__main__.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/banner.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/cli.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/data/regex.yaml +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/data/vendor_blacklist.txt +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/installer.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/__init__.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/analyze_ast.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/analyze_regex.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/correlate.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/harvest.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/js_download.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/linkfinder.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/secrets.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/sinks.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/modules/tiered_analysis.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/pipeline.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/utils/__init__.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/utils/cache.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/utils/fs.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/utils/hashing.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/utils/logger.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye/utils/shell.py +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye.egg-info/SOURCES.txt +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye.egg-info/dependency_links.txt +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye.egg-info/entry_points.txt +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye.egg-info/requires.txt +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/jseye.egg-info/top_level.txt +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/scripts/ast_parser.js +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/setup.cfg +0 -0
- {jseye-1.0.3 → jseye-1.0.4}/setup.py +0 -0
|
@@ -238,4 +238,18 @@ class JSFilter:
|
|
|
238
238
|
}
|
|
239
239
|
save_json(detailed_results, self.output_dir / "js_smart_analysis.json")
|
|
240
240
|
|
|
241
|
-
return results
|
|
241
|
+
return results
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
def filter_and_prioritize_js(self, urls: List[str]) -> Dict[str, List[str]]:
|
|
245
|
+
"""Alias for filter_javascript_urls - for backward compatibility"""
|
|
246
|
+
results = self.filter_javascript_urls(urls)
|
|
247
|
+
|
|
248
|
+
# Map to expected format for pipeline
|
|
249
|
+
return {
|
|
250
|
+
'tier1': results['tier1_full'],
|
|
251
|
+
'tier2': results['tier2_medium'],
|
|
252
|
+
'tier3': results['tier3_light'],
|
|
253
|
+
'all_js': results['all_js'],
|
|
254
|
+
'vendor_skipped': results.get('vendor_skipped', 0)
|
|
255
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|