Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

zipmount

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zipmount - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
lib/__pycache__/cli.cpython-314.pyc

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

+3
-3
#!/usr/bin/env python3
"""Standalone CLI for zipmount (used by the npm package)."""
"""Standalone CLI for zipmount (used by the npm package). Runs from ~/.zipmount."""

@@ -18,4 +18,4 @@ import argparse

# Set up paths for imports
install_dir = os.path.dirname(os.path.abspath(__file__))
# Set up paths — everything runs from ~/.zipmount
install_dir = os.path.expanduser("~/.zipmount")
venv_site = os.path.join(install_dir, ".venv", "lib")

@@ -22,0 +22,0 @@ if os.path.isdir(venv_site):

@@ -327,3 +327,8 @@ #!/usr/bin/env python3

self._journal.log({'op': 'truncate', 'path': path, 'length': length})
self.files[path] = self.files[path][:length]
content = self.files[path]
if length < len(content):
content = content[:length]
elif length > len(content):
content = content + b'\x00' * (length - len(content))
self.files[path] = content
self._dirty = True

@@ -330,0 +335,0 @@

{
"name": "zipmount",
"version": "1.0.0",
"version": "1.0.1",
"description": "Mount ZIP files as virtual directories — ls, cat, vim, VS Code all work natively",

@@ -5,0 +5,0 @@ "license": "MIT",