Skip to content

Commit

Permalink
fix regex, ex. socket.io
Browse files Browse the repository at this point in the history
  • Loading branch information
fcannizzaro committed Dec 14, 2017
1 parent 6aaf54c commit 132fc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'tty', 'url', 'util', 'v8', 'vm', 'zlib'
]

MODULE = r'.*(?:import.*?from.*?|require\()[\"\']([^.\n][^"\'\/\.\n]*).*?[\"\']\)?.*'
MODULE = r'.*(?:import.*?from.*?|require\()[\"\']([^.\n][^"\'\/\n]*).*?[\"\']\)?.*'
ICON = "Packages/npm-install/icon-%s.png"
data = {}
root = {}
Expand Down

0 comments on commit 132fc28

Please sign in to comment.