@embroider/shared-internals
Advanced tools
Comparing version 1.5.0 to 1.6.0
{ | ||
"name": "@embroider/shared-internals", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"private": false, | ||
@@ -34,2 +34,3 @@ "description": "Utilities shared among the other embroider packages", | ||
"ember-rfc176-data": "^0.3.17", | ||
"js-string-escape": "^1.0.1", | ||
"resolve-package-path": "^4.0.1", | ||
@@ -43,2 +44,3 @@ "typescript-memoize": "^1.0.1", | ||
"@embroider/test-support": "0.36.0", | ||
"@types/js-string-escape": "^1.0.0", | ||
"@types/semver": "^7.3.6", | ||
@@ -45,0 +47,0 @@ "@types/tmp": "^0.1.0", |
@@ -11,1 +11,2 @@ export { AppMeta, AddonMeta, PackageInfo } from './metadata'; | ||
export * from './ember-standard-modules'; | ||
export { hbsToJS } from './hbs-to-js'; |
@@ -16,3 +16,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tmpdir = exports.packageName = exports.babelFilter = exports.PackageCache = exports.Package = exports.getOrCreate = exports.extensionsPattern = exports.explicitRelative = void 0; | ||
exports.hbsToJS = exports.tmpdir = exports.packageName = exports.babelFilter = exports.PackageCache = exports.Package = exports.getOrCreate = exports.extensionsPattern = exports.explicitRelative = void 0; | ||
var paths_1 = require("./paths"); | ||
@@ -35,2 +35,4 @@ Object.defineProperty(exports, "explicitRelative", { enumerable: true, get: function () { return paths_1.explicitRelative; } }); | ||
__exportStar(require("./ember-standard-modules"), exports); | ||
var hbs_to_js_1 = require("./hbs-to-js"); | ||
Object.defineProperty(exports, "hbsToJS", { enumerable: true, get: function () { return hbs_to_js_1.hbsToJS; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -16,6 +16,2 @@ declare type Filename = string; | ||
'root-url': string; | ||
'template-compiler': { | ||
filename: string; | ||
isParallelSafe: boolean; | ||
}; | ||
version: 2; | ||
@@ -22,0 +18,0 @@ } |
@@ -25,3 +25,3 @@ "use strict"; | ||
let hbsFilename = filename.replace(/\.\w{1,3}$/, '') + '.hbs'; | ||
if ((0, fs_1.existsSync)(hbsFilename)) { | ||
if (hbsFilename !== filename && (0, fs_1.existsSync)(hbsFilename)) { | ||
state.colocatedTemplate = hbsFilename; | ||
@@ -28,0 +28,0 @@ } |
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
90952
49
967
8
7
+ Addedjs-string-escape@^1.0.1
+ Addedjs-string-escape@1.0.1(transitive)