@embroider/compat 3.5.7-unstable.203b5bc → 3.5.7-unstable.324f52a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embroider/compat",
|
|
3
|
-
"version": "3.5.7-unstable.
|
|
3
|
+
"version": "3.5.7-unstable.324f52a",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Backward compatibility layer for the Embroider build system.",
|
|
6
6
|
"repository": {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"typescript-memoize": "^1.0.1",
|
|
61
61
|
"walk-sync": "^3.0.0",
|
|
62
62
|
"yargs": "^17.0.1",
|
|
63
|
-
"@embroider/macros": "1.16.6-unstable.
|
|
63
|
+
"@embroider/macros": "1.16.6-unstable.324f52a"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@glimmer/syntax": "^0.84.3",
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
"ember-engines": "^0.8.19",
|
|
84
84
|
"scenario-tester": "^3.0.1",
|
|
85
85
|
"typescript": "^5.4.5",
|
|
86
|
-
"@embroider/core": "^3.4.15-unstable.203b5bc",
|
|
87
86
|
"@embroider/sample-transforms": "0.0.0",
|
|
87
|
+
"@embroider/core": "^3.4.15-unstable.324f52a",
|
|
88
88
|
"@embroider/test-support": "0.36.0"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@embroider/core": "^3.4.15-unstable.
|
|
91
|
+
"@embroider/core": "^3.4.15-unstable.324f52a"
|
|
92
92
|
},
|
|
93
93
|
"engines": {
|
|
94
94
|
"node": "12.* || 14.* || >= 16"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const v1_addon_1 = __importDefault(require("../v1-addon"));
|
|
7
|
+
class default_1 extends v1_addon_1.default {
|
|
8
|
+
get packageMeta() {
|
|
9
|
+
let meta = super.packageMeta;
|
|
10
|
+
if (meta['implicit-modules']) {
|
|
11
|
+
// ember-resolver has a vestigial empty file here that existed due to
|
|
12
|
+
// babel-plugin-debug-macros behavior. But ember-resolver no longer uses
|
|
13
|
+
// babel-plugin-debug-macros. And the empty file makes vite's CJS interop
|
|
14
|
+
// get confused and produce a runtime crash.
|
|
15
|
+
meta['implicit-modules'] = meta['implicit-modules'].filter(m => m !== './features');
|
|
16
|
+
}
|
|
17
|
+
return meta;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.default = default_1;
|
|
21
|
+
//# sourceMappingURL=ember-resolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ember-resolver.js","sourceRoot":"","sources":["ember-resolver.ts"],"names":[],"mappings":";;;;;AAAA,2DAAkC;AAElC,eAAqB,SAAQ,kBAAO;IAClC,IAAI,WAAW;QACb,IAAI,IAAI,GAAG,KAAK,CAAC,WAAW,CAAC;QAC7B,IAAI,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAC7B,qEAAqE;YACrE,wEAAwE;YACxE,yEAAyE;YACzE,4CAA4C;YAC5C,IAAI,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,YAAY,CAAC,CAAC;QACtF,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAZD,4BAYC","sourcesContent":["import V1Addon from '../v1-addon';\n\nexport default class extends V1Addon {\n get packageMeta() {\n let meta = super.packageMeta;\n if (meta['implicit-modules']) {\n // ember-resolver has a vestigial empty file here that existed due to\n // babel-plugin-debug-macros behavior. But ember-resolver no longer uses\n // babel-plugin-debug-macros. And the empty file makes vite's CJS interop\n // get confused and produce a runtime crash.\n meta['implicit-modules'] = meta['implicit-modules'].filter(m => m !== './features');\n }\n return meta;\n }\n}\n"]}
|