Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/webpack/css-loader
/ fixedEncodeURIComponent
Function
fixedEncodeURIComponent
src/utils.js:406–408 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
404
}
405
406
function
fixedEncodeURIComponent(str) {
407
return
str.replace(/[!'()*]/g, (c) => `%${c.charCodeAt(0).toString(16)}`);
408
}
409
410
function
isDataUrl(url) {
411
if
(/^data:/i.test(url)) {
Callers
1
normalizeUrl
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected