MCPcopy
hub / github.com/Kong/insomnia / escapeName

Method escapeName

packages/insomnia/bin/yarn-standalone.js:32353–32356  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

32351 }
32352
32353 static escapeName(name) {
32354 // scoped packages contain slashes and the npm registry expects them to be escaped
32355 return name.replace('/', SCOPE_SEPARATOR);
32356 }
32357
32358 isScopedPackage(packageIdent) {
32359 return SCOPED_PKG_REGEXP.test(packageIdent);

Callers 5

requestMethod · 0.80
checkOutdatedMethod · 0.80
resolveRequestMethod · 0.80
yarn-standalone.jsFile · 0.80
addFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected