Upload Kmake

This commit is contained in:
Gorochu
2026-05-26 23:36:42 -07:00
parent ba051b2f74
commit 555ec72358
41615 changed files with 13344630 additions and 1 deletions

View File

@ -0,0 +1,3 @@
'use strict';
module.exports = 'using native addons';

1
test/fixtures/node_modules/pkgexports/asdf.js generated vendored Normal file
View File

@ -0,0 +1 @@
module.exports = 'asdf';

View File

@ -0,0 +1 @@
module.exports = 'from custom condition';

View File

@ -0,0 +1 @@
export default 'from custom condition';

View File

@ -0,0 +1,3 @@
'use strict';
module.exports = 'internal only';

10
test/fixtures/node_modules/pkgexports/lib/hole.js generated vendored Normal file
View File

@ -0,0 +1,10 @@
'use strict';
module.exports = {
async importFromInside(specifier) {
return import(specifier);
},
async requireFromInside(specifier) {
return { default: require(specifier) };
},
};

View File

@ -0,0 +1,3 @@
'use strict';
module.exports = 'not using native addons';

View File

@ -0,0 +1 @@
module.exports = 42;

View File

@ -0,0 +1,3 @@
'use strict';
module.exports = 'not-exported';

68
test/fixtures/node_modules/pkgexports/package.json generated vendored Normal file
View File

@ -0,0 +1,68 @@
{
"name": "pkg-exports",
"exports": {
"./hole": "./lib/hole.js",
"./space": "./sp%20ce.js",
"./valid-cjs": "./asdf.js",
"./sub/*": "./*",
"./sub/internal/*": null,
"./belowdir/*": "../belowdir/*",
"./belowfile": "../belowfile",
"./null": null,
"./null/": null,
"./invalid1": {},
"./invalid2": 1234,
"./invalid3": "",
"./invalid4": {},
"./invalid5": "invalid5.js",
"./fallbackdir/*": [[], null, {}, "builtin:x/*", "./*"],
"./fallbackfile": [[], null, {}, "builtin:x", "./asdf.js"],
"./nofallback1": [],
"./nofallback2": [null, {}, "builtin:x"],
"./nodemodules": "./node_modules/internalpkg/x.js",
"./doubleslash": ".//asdf.js",
"./no-addons": {
"node-addons": "./addons-entry.js",
"default": "./no-addons-entry.js"
},
"./condition": [{
"custom-condition": {
"import": "./custom-condition.mjs",
"require": "./custom-condition.js"
},
"import": "///overridden",
"require": {
"require": {
"nomatch": "./nothing.js"
},
"default": "./sp ce.js"
},
"default": "./asdf.js",
"node": "./lib/hole.js",
"import": {
"nomatch": "./nothing.js"
}
}],
"./no-ext": "./asdf",
"./resolve-self": {
"require": "./resolve-self.js",
"import": "./resolve-self.mjs"
},
"./resolve-self-invalid": {
"require": "./resolve-self-invalid.js",
"import": "./resolve-self-invalid.mjs"
},
"./*/trailer": "./subpath/*.js",
"./*/*railer": "never",
"./*trailer": "never",
"./*/dir2/trailer": "./subpath/*/index.js",
"./a/*": "./subpath/*.js",
"./a/b/": "./nomatch/",
"./a/b*": "./subpath*.js",
"./subpath/*": "./subpath/*",
"./subpath/sub-*": "./subpath/dir1/*.js",
"./subpath/sub-*.js": "./subpath/dir1/*.js",
"./features/*": "./subpath/*/*.js",
"./trailing-pattern-slash*": "./trailing-pattern-slash*index.js"
}
}

View File

@ -0,0 +1 @@
require('pkg-exports/invalid2');

View File

@ -0,0 +1 @@
import 'pkg-exports/invalid2';

View File

@ -0,0 +1,2 @@
require('pkg-exports/valid-cjs');
module.exports = 'self-cjs';

View File

@ -0,0 +1,2 @@
import 'pkg-exports/valid-cjs';
export default 'self-mjs';

3
test/fixtures/node_modules/pkgexports/sp ce.js generated vendored Normal file
View File

@ -0,0 +1,3 @@
'use strict';
module.exports = 'encoded path';

View File

@ -0,0 +1 @@
module.exports = 'main';

View File

@ -0,0 +1,3 @@
{
"main": "dir1"
}

View File

@ -0,0 +1 @@
module.exports = 'index';

View File

@ -0,0 +1,2 @@
module.exports = 'file';

View File

@ -0,0 +1 @@
module.exports = 'trailing-pattern-slash';