Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
quantap-code
github-script
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
github-script
src
wrap-require.ts
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 21, 2021
Remove require search fallback
jclem
committed
1ef7fd0
View commit details
Copy full SHA for 1ef7fd0
View code at this point
Browse repository at this point
Search the cwd first, then existing module paths
jclem
committed
a49bf6b
View commit details
Copy full SHA for a49bf6b
View code at this point
Browse repository at this point
Update src/wrap-require.ts
Show description for 256da4e
jclem
and
joshmgross
authored
256da4e
View commit details
Copy full SHA for 256da4e
View code at this point
Browse repository at this point
Add Webpack comment vis-a-vis eval
jclem
committed
b0e12e7
View commit details
Copy full SHA for b0e12e7
View code at this point
Browse repository at this point
Call resolve, then require
jclem
committed
7e12bd7
View commit details
Copy full SHA for 7e12bd7
View code at this point
Browse repository at this point
Test eval
jclem
committed
d37f92f
View commit details
Copy full SHA for d37f92f
View code at this point
Browse repository at this point
Try global.module
jclem
committed
f57c84a
View commit details
Copy full SHA for f57c84a
View code at this point
Browse repository at this point
Use concat for paths
jclem
committed
ade5cea
View commit details
Copy full SHA for ade5cea
View code at this point
Browse repository at this point
Add a catch to support requiring installed modules
jclem
committed
c1c139b
View commit details
Copy full SHA for c1c139b
View code at this point
Browse repository at this point
Pass nativeRequire, as well
jclem
committed
c416f56
View commit details
Copy full SHA for c416f56
View code at this point
Browse repository at this point
Move wrapRequire to its own module
jclem
committed
75e3a5b
View commit details
Copy full SHA for 75e3a5b
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.