/third_party/node/test/es-module/ |
D | test-esm-imports.mjs | 18 ['#subpath/x.js', { default: 'xsubpath' }], 21 // External subpath imports 22 ['#external/subpath/asdf.js', { default: 'asdf' }], 24 ['#subpath/asdf.asdf', { default: 'test' }], 26 ['#subpath//asdf.asdf', { default: 'test' }], 28 ['#subpath/as//df.asdf', { default: 'test' }], 47 for (const [specifier, subpath] of invalidImportTargets) { 51 assertIncludes(err.message, subpath); 58 ['#subpath/sub/../../../belowbase', 'request is not a valid match in pattern'], 60 ['#external/subpath/x%2Fy', 'must not include encoded "/" or "\\"'], [all …]
|
D | test-esm-exports.mjs | 35 ['pkgexports/subpath/sub-dir1', { default: 'main' }], 36 ['pkgexports/subpath/sub-dir1.js', { default: 'main' }], 91 ['pkgexports/null/subpath', './null/subpath'], 126 for (const [specifier, subpath] of undefinedExports) { 129 assertStartsWith(err.message, 'Package subpath '); 130 assertIncludes(err.message, subpath); 134 for (const [specifier, subpath] of invalidExports) { 138 assertIncludes(err.message, subpath); 139 if (!subpath.startsWith('./')) { 145 for (const [specifier, subpath] of invalidSpecifiers) { [all …]
|
D | test-esm-imports-deprecations.mjs | 13 '#subpath/////internal', 14 '#subpath//asdf.asdf', 15 '#subpath/as//df.asdf', 20 '#subpath/////internal',
|
D | test-esm-exports-deprecations.mjs | 14 '"./subpath/dir1/dir1.js"', 15 '"./subpath//dir1/dir1.js"',
|
/third_party/node/lib/internal/modules/esm/ |
D | resolve.js | 365 function exportsNotFound(subpath, packageJSONUrl, base) { argument 367 fileURLToPath(new URL('.', packageJSONUrl)), subpath, 398 subpath, target, packageJSONUrl, internal, base) { argument 405 fileURLToPath(new URL('.', packageJSONUrl)), subpath, target, 431 subpath, argument 441 if (subpath !== '' && !pattern && target[target.length - 1] !== '/') { 451 RegExpPrototypeSymbolReplace(patternRegEx, target, () => subpath) : 452 target + subpath; 464 StringPrototypeReplace(match, '*', () => subpath) : 465 match + subpath; [all …]
|
/third_party/node/test/testpy/ |
D | __init__.py | 142 for subpath in os.listdir(path): 143 if os.path.isdir(os.path.join(path, subpath)): 144 for f in os.listdir(os.path.join(path, subpath)): 146 result.append([subpath, f[:-3]])
|
/third_party/typescript/src/compiler/ |
D | moduleNameResolver.ts | 2048 …function loadModuleFromExports(scope: PackageJsonInfo, extensions: Extensions, subpath: string, st… 2053 if (subpath === ".") { 2062 …eFromTargetImportOrExport(extensions, state, cache, redirectedReference, subpath, scope, /*isImpor… 2069 …stics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDir… 2073 …oduleFromImportsOrExports(extensions, state, cache, redirectedReference, subpath, scope.contents.p… 2080 …stics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDir… 2149 …const subpath = moduleName.substring(potentialTarget.substring(0, starPos).length, moduleName.leng… constant 2150 … return loadModuleFromTargetImportOrExport(target, subpath, /*pattern*/ true, potentialTarget); 2154 const subpath = moduleName.substring(potentialTarget.length - 1); constant 2155 … return loadModuleFromTargetImportOrExport(target, subpath, /*pattern*/ true, potentialTarget); [all …]
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | zdump.c | 1071 char subpath[FILENAME_MAX + 1]; in getzones() local 1078 strcpy(subpath, relpath); in getzones() 1079 strcat(subpath, "/"); in getzones() 1080 strcat(subpath, dir->d_name); in getzones() 1082 strcpy(subpath, dir->d_name); in getzones() 1084 getzones(basedir, subpath, last, count); in getzones()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | zdump.c | 1077 char subpath[FILENAME_MAX + 1]; in getzones() local 1084 strcpy(subpath, relpath); in getzones() 1085 strcat(subpath, "/"); in getzones() 1086 strcat(subpath, dir->d_name); in getzones() 1088 strcpy(subpath, dir->d_name); in getzones() 1090 getzones(basedir, subpath, last, count); in getzones()
|
/third_party/node/doc/api/ |
D | packages.md | 341 `require('pkg/subpath.js')` throws an [`ERR_PACKAGE_PATH_NOT_EXPORTED`][] 347 absolute subpath of the package such as 348 `require('/path/to/node_modules/pkg/subpath.js')` will still load `subpath.js`. 370 `"."` subpath: 381 Now only the defined subpath in [`"exports"`][] can be imported by a consumer: 397 Package authors should provide either extensioned (`import 'pkg/subpath.js'`) or 398 extensionless (`import 'pkg/subpath'`) subpaths in their exports. This ensures 399 that there is only one subpath for each exported module so that all dependents 401 consumers and simplifying package subpath completions. 411 subpaths where possible instead of a separate map entry per package subpath [all …]
|
D | modules.md | 255 may have a @scope/ prefix and the subpath begins with a slash (`/`). 440 > Stability: 3 - Legacy: Use [subpath exports][] or [subpath imports][] instead. 475 [`ERR_UNSUPPORTED_DIR_IMPORT`][] error. Using package [subpath exports][] or 476 [subpath imports][] can provide the same containment organization benefits as 1103 [subpath exports]: packages.md#subpath-exports 1104 [subpath imports]: packages.md#subpath-imports
|
D | deprecations.md | 2877 Using a trailing `"/"` to define subpath folder mappings in the 2878 [subpath exports][] or [subpath imports][] fields is deprecated. Use 2879 [subpath patterns][] instead. 3505 [subpath exports]: packages.md#subpath-exports 3506 [subpath imports]: packages.md#subpath-imports 3507 [subpath patterns]: packages.md#subpath-patterns
|
D | errors.md | 1996 The imported module string is an invalid URL, package name, or package subpath 2436 The `package.json` [`"exports"`][] field does not export the requested subpath. 2956 [self-reference a package using its name][] and [define a custom subpath][] in 3653 [define a custom subpath]: packages.md#subpath-exports
|
/third_party/ninja/src/ |
D | deps_log.cc | 232 StringPiece subpath(buf, path_size); in Load() local 238 Node* node = state->GetNode(subpath, 0); in Load()
|
/third_party/typescript/tests/baselines/reference/tscWatch/moduleResolution/ |
D | diagnostics-from-cache.js | 40 Using 'exports' subpath '.' with target './dist/index.js'.
|
/third_party/typescript/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/ |
D | self-name-package-reference.js | 39 Using 'exports' subpath '.' with target './dist/index.js'.
|
D | package-json-is-looked-up-for-file.js | 45 Using 'exports' subpath '.' with target './src/index.ts'.
|
D | with-nodeNext-resolution.js | 63 Using 'exports' subpath '.' with target './index.d.ts'.
|
/third_party/python/Doc/library/ |
D | zipimport.rst | 181 subpath. 186 The subpath within the ZIP file where modules are searched. This is the
|
D | pathlib.rst | 556 …ValueError: '/etc/passwd' is not in the subpath of '/usr' OR one path is relative and the other ab… 1282 .. [#] :meth:`Path.relative_to` requires ``self`` to be the subpath of the argument, but :func:`os.…
|
/third_party/node/lib/internal/ |
D | errors.js | 1513 E('ERR_PACKAGE_PATH_NOT_EXPORTED', (pkgPath, subpath, base = undefined) => { 1514 if (subpath === '.') 1517 return `Package subpath '${subpath}' is not defined by "exports" in ${
|
/third_party/decimal.js/ |
D | CHANGELOG.md | 11 * #205 Add './decimal' subpath to *package.json* `exports`.
|
/third_party/python/Lib/ |
D | mailbox.py | 375 subpath = self._lookup(key) 376 with open(os.path.join(self._path, subpath), 'rb') as f: 381 subdir, name = os.path.split(subpath) 385 msg.set_date(os.path.getmtime(os.path.join(self._path, subpath)))
|
D | pickle.py | 323 for subpath in name.split('.'): 324 if subpath == '<locals>': 329 obj = getattr(obj, subpath)
|
/third_party/skia/modules/canvaskit/tests/ |
D | path.spec.js | 416 const subpath = cont.getSegment(20, 40, true); // make sure this doesn't crash constant
|