@embroider/shared-internals
Advanced tools
Comparing version 2.6.2-unstable.ee5e024 to 2.6.2-unstable.f653cff
{ | ||
"name": "@embroider/shared-internals", | ||
"version": "2.6.2-unstable.ee5e024", | ||
"version": "2.6.2-unstable.f653cff", | ||
"private": false, | ||
@@ -27,5 +27,2 @@ "description": "Utilities shared among the other embroider packages", | ||
], | ||
"scripts": { | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
@@ -45,3 +42,2 @@ "babel-import-util": "^2.0.0", | ||
"broccoli-node-api": "^1.7.0", | ||
"@embroider/test-support": "workspace:*", | ||
"@types/babel__core": "^7.1.14", | ||
@@ -58,7 +54,11 @@ "@types/babel__traverse": "^7.18.5", | ||
"tmp": "^0.1.0", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.4.5", | ||
"@embroider/test-support": "0.36.0" | ||
}, | ||
"engines": { | ||
"node": "12.* || 14.* || >= 16" | ||
}, | ||
"scripts": { | ||
"test": "jest" | ||
} | ||
} | ||
} |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = babelFilter; | ||
const package_cache_1 = __importDefault(require("./package-cache")); | ||
@@ -29,3 +30,2 @@ const semver_1 = __importDefault(require("semver")); | ||
} | ||
exports.default = babelFilter; | ||
function babelCanHandle(filename) { | ||
@@ -32,0 +32,0 @@ // we can handle .mjs, .js and .ts files with babel. If typescript is enabled, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = exports.pluginPath = void 0; | ||
exports.default = makePlugin; | ||
const fs_extra_1 = require("fs-extra"); | ||
@@ -16,5 +17,4 @@ function makePlugin() { | ||
} | ||
exports.default = makePlugin; | ||
exports.pluginPath = __filename; | ||
exports.version = (0, fs_extra_1.readJSONSync)(`${__dirname}/../package.json`); | ||
//# sourceMappingURL=babel-plugin-cache-busting.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.summarizePeerDepViolations = exports.validatePeerDependencies = exports.crawlDeps = void 0; | ||
exports.crawlDeps = crawlDeps; | ||
exports.validatePeerDependencies = validatePeerDependencies; | ||
exports.summarizePeerDepViolations = summarizePeerDepViolations; | ||
// For each package in the graph, discover all the paths to reach that package. | ||
@@ -34,3 +36,2 @@ // That is, we're identifying all its consumers. | ||
} | ||
exports.crawlDeps = crawlDeps; | ||
function validatePeerDependencies(appPackage) { | ||
@@ -57,3 +58,2 @@ let violations = []; | ||
} | ||
exports.validatePeerDependencies = validatePeerDependencies; | ||
function summarizePeerDepViolations(violations) { | ||
@@ -78,3 +78,2 @@ let message = []; | ||
} | ||
exports.summarizePeerDepViolations = summarizePeerDepViolations; | ||
function displayConnection(left, right) { | ||
@@ -81,0 +80,0 @@ var _a, _b, _c; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findTopmostAddon = exports.isDeepAddonInstance = void 0; | ||
exports.isDeepAddonInstance = isDeepAddonInstance; | ||
exports.findTopmostAddon = findTopmostAddon; | ||
function isDeepAddonInstance(addon) { | ||
return addon.parent !== addon.project; | ||
} | ||
exports.isDeepAddonInstance = isDeepAddonInstance; | ||
function findTopmostAddon(addon) { | ||
@@ -16,3 +16,2 @@ if (isDeepAddonInstance(addon)) { | ||
} | ||
exports.findTopmostAddon = findTopmostAddon; | ||
//# sourceMappingURL=ember-cli-models.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getOrCreate = void 0; | ||
exports.getOrCreate = getOrCreate; | ||
function getOrCreate(map, key, construct) { | ||
@@ -12,3 +12,2 @@ let result = map.get(key); | ||
} | ||
exports.getOrCreate = getOrCreate; | ||
//# sourceMappingURL=get-or-create.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.hbsToJS = void 0; | ||
exports.hbsToJS = hbsToJS; | ||
const js_string_escape_1 = __importDefault(require("js-string-escape")); | ||
@@ -30,3 +30,2 @@ const path_1 = require("path"); | ||
} | ||
exports.hbsToJS = hbsToJS; | ||
//# sourceMappingURL=hbs-to-js.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = absolutePackageName; | ||
const path_1 = require("path"); | ||
@@ -24,3 +25,2 @@ function absolutePackageName(specifier) { | ||
} | ||
exports.default = absolutePackageName; | ||
//# sourceMappingURL=package-name.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.correspondingTemplate = exports.getUrlQueryParams = exports.cleanUrl = exports.unrelativize = exports.extensionsPattern = exports.explicitRelative = void 0; | ||
exports.explicitRelative = explicitRelative; | ||
exports.extensionsPattern = extensionsPattern; | ||
exports.unrelativize = unrelativize; | ||
exports.cleanUrl = cleanUrl; | ||
exports.getUrlQueryParams = getUrlQueryParams; | ||
exports.correspondingTemplate = correspondingTemplate; | ||
const path_1 = require("path"); | ||
@@ -27,3 +32,2 @@ // by "explicit", I mean that we want "./local/thing" instead of "local/thing" | ||
} | ||
exports.explicitRelative = explicitRelative; | ||
// given a list like ['.js', '.ts'], return a regular expression for files ending | ||
@@ -34,3 +38,2 @@ // in those extensions. | ||
} | ||
exports.extensionsPattern = extensionsPattern; | ||
function unrelativize(pkg, specifier, fromFile) { | ||
@@ -46,3 +49,2 @@ if (pkg.packageJSON.exports) { | ||
} | ||
exports.unrelativize = unrelativize; | ||
const postfixRE = /[?#].*$/s; | ||
@@ -61,3 +63,2 @@ // this pattern includes URL query params (ex: ?direct) | ||
} | ||
exports.cleanUrl = cleanUrl; | ||
// includeHashSign true means #my-specifier is considered part of the pathname | ||
@@ -69,3 +70,2 @@ function getUrlQueryParams(url, includeHashSign = false) { | ||
} | ||
exports.getUrlQueryParams = getUrlQueryParams; | ||
// given a filename, returns it with the hbs extension | ||
@@ -77,3 +77,2 @@ // for instance, passing filename.js returns filename.hbs | ||
} | ||
exports.correspondingTemplate = correspondingTemplate; | ||
//# sourceMappingURL=paths.js.map |
@@ -7,2 +7,3 @@ "use strict"; | ||
exports.pluginPath = void 0; | ||
exports.default = main; | ||
const fs_1 = require("fs"); | ||
@@ -133,3 +134,2 @@ const path_1 = require("path"); | ||
} | ||
exports.default = main; | ||
function getTemplate(target, state) { | ||
@@ -136,0 +136,0 @@ if (state.colocatedTemplate) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.locateEmbroiderWorkingDir = void 0; | ||
exports.locateEmbroiderWorkingDir = locateEmbroiderWorkingDir; | ||
const path_1 = require("path"); | ||
@@ -35,3 +35,2 @@ const fs_1 = require("fs"); | ||
} | ||
exports.locateEmbroiderWorkingDir = locateEmbroiderWorkingDir; | ||
//# sourceMappingURL=working-dir.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158741
59
1577