@glimmer/resolver
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -0,8 +1,17 @@ | ||
"use strict"; | ||
const build = require('@glimmer/build'); | ||
const buildVendorPackage = require('@glimmer/build/lib/build-vendor-package'); | ||
const funnel = require('broccoli-funnel'); | ||
const path = require('path'); | ||
module.exports = build({ | ||
testDependencies: [ | ||
'node_modules/glimmer-engine/dist/amd/glimmer-common.amd.js', | ||
'node_modules/@glimmer/di/dist/amd/es5/**/*.js' | ||
] | ||
}); | ||
let buildOptions = {}; | ||
if (process.env.BROCCOLI_ENV === 'tests') { | ||
buildOptions.vendorTrees = [ | ||
buildVendorPackage('@glimmer/util'), | ||
funnel(path.dirname(require.resolve('@glimmer/di/package')), { include: ['dist/amd/es5/**/*.js'] }) | ||
]; | ||
} | ||
module.exports = build(buildOptions); |
@@ -1,2 +0,2 @@ | ||
define('@glimmer/resolver/module-registries/basic-registry', ['exports', 'babel-helpers', 'glimmer-util'], function (exports, _babelHelpers, _glimmerUtil) { | ||
define('@glimmer/resolver/module-registries/basic-registry', ['exports', 'babel-helpers', '@glimmer/util'], function (exports, _babelHelpers, _util) { | ||
'use strict'; | ||
@@ -11,3 +11,3 @@ | ||
function BasicRegistry() { | ||
var entries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _glimmerUtil.dict)(); | ||
var entries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _util.dict)(); | ||
@@ -32,2 +32,2 @@ (0, _babelHelpers.classCallCheck)(this, BasicRegistry); | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtcmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvbW9kdWxlLXJlZ2lzdHJpZXMvYmFzaWMtcmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7b0NBTUU7O2dCQUFZLDhFQUFxQixBQUF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@glimmer/resolver/resolver-configuration", [], function () { | ||
"use strict"; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZXItY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNyYy9yZXNvbHZlci1jb25maWd1cmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaWN0IH0gZnJvbSAnZ2xpbW1lci11dGlsJztcblxuZXhwb3J0IGludGVyZmFjZSBQYWNrYWdlRGVmaW5pdGlvbiB7XG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgcGFja2FnZSwgYXMgZGVmaW5lZCBpbiBgcGFja2FnZS5qc29uYC5cbiAgICpcbiAgICogRm9yIGV4YW1wbGUsIGEgcGFja2FnZSBwdWJsaXNoZWQgdG8gbnBtIGFzIGBlbWJlci1zdXBlci1pbnB1dGAgbXVzdFxuICAgKiBhbHNvIHVzZSB0aGlzIGBuYW1lYC5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gdGhlIGRpcmVjdG9yeSB0aGF0IGNvbnRhaW5zIHRoZSBgbWFpbmAgZXhwb3J0IGZvciB0aGVcbiAgICogcGFja2FnZS5cbiAgICpcbiAgICogQnkgZGVmYXVsdCwgYG1haW5QYXRoID0gJy9zcmMnYC5cbiAgICovXG4gIG1haW5QYXRoPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBBbiBhbGlhcyB1c2VkIGZvciBtb2R1bGUgcmVzb2x1dGlvbi5cbiAgICpcbiAgICogRm9yIGFkZG9ucywgdGhlIGByb290TmFtZWAgd2lsbCBpbml0aWFsbHkgYmUgYSByZWFkLW9ubHkgcHJvcGVydHkgdGhhdFxuICAgKiBlcXVhbHMgdGhlIHBhY2thZ2UgYG5hbWVgIHd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gIGJlY29tZXMgYHN1cGVyLWlucHV0YCkuIEl0J3NcbiAgICogcG9zc2libGUgdGhhdCBjdXN0b20gb3ZlcnJpZGVzIC8gYWxpYXNlcyB3aWxsIGJlIGFsbG93ZWQgaW4gdGhlIGZ1dHVyZS5cbiAgICpcbiAgICogQWxsIGFwcHMgc2hvdWxkIHVzZSBhIGByb290TmFtZWAgb2YgXCJhcHBcIiBmb3IgY29uc2lzdGVuY3kuXG4gICAqL1xuICByb290TmFtZT86IHN0cmluZztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBNb2R1bGVUeXBlRGVmaW5pdGlvbiB7XG4gIGRlZmluaXRpdmVDb2xsZWN0aW9uPzogc3RyaW5nO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIE1vZHVsZUNvbGxlY3Rpb25EZWZpbml0aW9uIHtcbiAgZ3JvdXA/OiBzdHJpbmc7XG4gIHR5cGVzPzogc3RyaW5nW107XG4gIGRlZmF1bHRUeXBlPzogc3RyaW5nO1xuICBwcml2YXRlQ29sbGVjdGlvbnM/OiBzdHJpbmdbXTtcbiAgdW5yZXNvbHZhYmxlPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBSZXNvbHZlckNvbmZpZ3VyYXRpb24ge1xuICBhcHA/OiBQYWNrYWdlRGVmaW5pdGlvbjtcbiAgYWRkb25zPzogRGljdDxQYWNrYWdlRGVmaW5pdGlvbj47XG4gIHR5cGVzOiBEaWN0PE1vZHVsZVR5cGVEZWZpbml0aW9uPjtcbiAgY29sbGVjdGlvbnM6IERpY3Q8TW9kdWxlQ29sbGVjdGlvbkRlZmluaXRpb24+O1xufVxuIl19 |
@@ -7,6 +7,6 @@ 'use strict'; | ||
var _glimmerUtil = require('glimmer-util'); | ||
var _util = require('@glimmer/util'); | ||
class BasicRegistry { | ||
constructor(entries = (0, _glimmerUtil.dict)()) { | ||
constructor(entries = (0, _util.dict)()) { | ||
this._entries = entries; | ||
@@ -22,2 +22,2 @@ } | ||
ex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lUmVnaXN0cnkge1xuICBwcml2YXRlIF9lbnRyaWVzOiBEaWN0PGFueT47XG5cbiAgY29uc3RydWN0b3IoZW50cmllczogRGljdDxhbnk+ID0gZGljdDxhbnk+KCkpIHtcbiAgICB0aGlzLl9lbnRyaWVzID0gZW50cmllcztcbiAgfVxuXG4gIGhhcyhzcGVjaWZpZXI6IHN0cmluZyk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBzcGVjaWZpZXIgaW4gdGhpcy5fZW50cmllcztcbiAgfVxuXG4gIGdldChzcGVjaWZpZXI6IHN0cmluZyk6IGFueSB7XG4gICAgcmV0dXJuIHRoaXMuX2VudHJpZXNbc3BlY2lmaWVyXTtcbiAgfVxufVxuIl19 |
"use strict"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZXItY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNyYy9yZXNvbHZlci1jb25maWd1cmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaWN0IH0gZnJvbSAnZ2xpbW1lci11dGlsJztcblxuZXhwb3J0IGludGVyZmFjZSBQYWNrYWdlRGVmaW5pdGlvbiB7XG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgcGFja2FnZSwgYXMgZGVmaW5lZCBpbiBgcGFja2FnZS5qc29uYC5cbiAgICpcbiAgICogRm9yIGV4YW1wbGUsIGEgcGFja2FnZSBwdWJsaXNoZWQgdG8gbnBtIGFzIGBlbWJlci1zdXBlci1pbnB1dGAgbXVzdFxuICAgKiBhbHNvIHVzZSB0aGlzIGBuYW1lYC5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gdGhlIGRpcmVjdG9yeSB0aGF0IGNvbnRhaW5zIHRoZSBgbWFpbmA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biAgYWRkb25zPzogRGljdDxQYWNrYWdlRGVmaW5pdGlvbj47XG4gIHR5cGVzOiBEaWN0PE1vZHVsZVR5cGVEZWZpbml0aW9uPjtcbiAgY29sbGVjdGlvbnM6IERpY3Q8TW9kdWxlQ29sbGVjdGlvbkRlZmluaXRpb24+O1xufVxuIl19 |
@@ -53,3 +53,3 @@ 'use strict'; | ||
s.collection = this._definitiveCollection(r.type); | ||
(0, _debug.assert)(`'${ r.type }' does not have a definitive collection`, s.collection); | ||
(0, _debug.assert)(`'${r.type}' does not have a definitive collection`, s.collection); | ||
} | ||
@@ -60,3 +60,3 @@ } | ||
s.collection = this._definitiveCollection(s.type); | ||
(0, _debug.assert)(`'${ s.type }' does not have a definitive collection`, s.collection); | ||
(0, _debug.assert)(`'${s.type}' does not have a definitive collection`, s.collection); | ||
} | ||
@@ -96,3 +96,3 @@ if (!s.rootName) { | ||
let typeDef = this.config.types[type]; | ||
(0, _debug.assert)(`'${ type }' is not a recognized type`, typeDef); | ||
(0, _debug.assert)(`'${type}' is not a recognized type`, typeDef); | ||
return typeDef.definitiveCollection; | ||
@@ -108,2 +108,2 @@ } | ||
exports.default = Resolver; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzcmMvcmVzb2x2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsQUFBTyxBQUdMLEFBQXlCLEFBQ3pCLEFBQXlCLEFBQ3pCLEFBQW9CLEFBQ3BCLEFBQWtCLEFBQ25CLEFBQU0sQUFBYSxBQUFDOztBQUNyQixBQUFPLEFBQUUsQUFBTSxBQUFFLEFBQU0sQUFBZSxBQUFDLEFBSXZDLEFBQU0sQUFBQyxBQUFPOzs7QUFJWixnQkFBWSxBQUE2QixRQUFFLEFBQXdCO0FBQ2pFLEFBQUksYUFBQyxBQUFNLFNBQU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cblxuICBwcml2YXRlIF9kZWZpbml0aXZlQ29sbGVjdGlvbih0eXBlOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIGxldCB0eXBlRGVmID0gdGhpcy5jb25maWcudHlwZXNbdHlwZV07XG4gICAgYXNzZXJ0KGAnJHt0eXBlfScgaXMgbm90IGEgcmVjb2duaXplZCB0eXBlYCwgdHlwZURlZik7XG4gICAgcmV0dXJuIHR5cGVEZWYuZGVmaW5pdGl2ZUNvbGxlY3Rpb247XG4gIH1cblxuICBwcml2YXRlIF9zZXJpYWxpemVBbmRWZXJpZnkoc3BlY2lmaWVyOiBTcGVjaWZpZXIpOiBzdHJpbmcge1xuICAgIGxldCBzZXJpYWxpemVkID0gc2VyaWFsaXplU3BlY2lmaWVyKHNwZWNpZmllcik7XG4gICAgaWYgKHRoaXMucmVnaXN0cnkuaGFzKHNlcmlhbGl6ZWQpKSB7XG4gICAgICByZXR1cm4gc2VyaWFsaXplZDtcbiAgICB9XG4gIH1cbn1cbiJdfQ== |
@@ -9,7 +9,7 @@ 'use strict'; | ||
var _glimmerUtil = require('glimmer-util'); | ||
var _util = require('@glimmer/util'); | ||
var BasicRegistry = function () { | ||
function BasicRegistry() { | ||
var entries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _glimmerUtil.dict)(); | ||
var entries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _util.dict)(); | ||
@@ -33,2 +33,2 @@ (0, _babelHelpers.classCallCheck)(this, BasicRegistry); | ||
exports.default = BasicRegistry; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtcmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvbW9kdWxlLXJlZ2lzdHJpZXMvYmFzaWMtcmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFDQSxBQUFPLEFBQUUsQUFBS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9vbGVhbiB7XG4gICAgcmV0dXJuIHNwZWNpZmllciBpbiB0aGlzLl9lbnRyaWVzO1xuICB9XG5cbiAgZ2V0KHNwZWNpZmllcjogc3RyaW5nKTogYW55IHtcbiAgICByZXR1cm4gdGhpcy5fZW50cmllc1tzcGVjaWZpZXJdO1xuICB9XG59XG4iXX0= |
"use strict"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZXItY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNyYy9yZXNvbHZlci1jb25maWd1cmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaWN0IH0gZnJvbSAnZ2xpbW1lci11dGlsJztcblxuZXhwb3J0IGludGVyZmFjZSBQYWNrYWdlRGVmaW5pdGlvbiB7XG4gIC8qKlxuICAgKiBUaGUgbmFtZSBvZiB0aGUgcGFja2FnZSwgYXMgZGVmaW5lZCBpbiBgcGFja2FnZS5qc29uYC5cbiAgICpcbiAgICogRm9yIGV4YW1wbGUsIGEgcGFja2FnZSBwdWJsaXNoZWQgdG8gbnBtIGFzIGBlbWJlci1zdXBlci1pbnB1dGAgbXVzdFxuICAgKiBhbHNvIHVzZSB0aGlzIGBuYW1lYC5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHBhdGggdG8gdGhlIGRpcmVjdG9yeSB0aGF0IGNvbnRhaW5zIHRoZSBgbWFpbmAgZXhwb3J0IGZvciB0aGVcbiAgICogcGFja2FnZS5cbiAgICpcbiAgICogQnkgZGVmYXVsdCwgYG1haW5QYXRoID0gJy9zcmMnYC5cbiAgICovXG4gIG1haW5QYXRoPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBBbiBhbGlhcyB1c2VkIGZvciBtb2R1bGUgcmVzb2x1dGlvbi5cbi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'glimmer-util'; | ||
import { dict } from '@glimmer/util'; | ||
export default class BasicRegistry { | ||
@@ -13,2 +13,2 @@ constructor(entries = dict()) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtcmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvbW9kdWxlLXJlZ2lzdHJpZXMvYmFzaWMtcmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLElBQUksRUFBUSxNQUFNLGNBQWMsQ0FBQztBQUUxQyxNQUFNLENBQUMsT0FBTztJQUdaLFlBQVksVUFBcUIsSUFBSSxFQUFPO1FBQzFDLElBQUksQ0FBQyxRQUFRLEdBQUcsT0FBTyxDQUFDO0lBQzFCLENBQUM7SUFFRCxHQUFHLENBQUMsU0FBaUI7UUFDbkIsTUFBTSxDQUFDLFNBQVMsSUFBSSxJQUFJLENBQUMsUUFBUSxDQUFDO0lBQ3BDLENBQUM7SUFFRCxHQUFHLENBQUMsU0FBaUI7UUFDbkIsTUFBTSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsU0FBUyxDQUFDLENBQUM7SUFDbEMsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTW9kdWxlUmVnaXN0cnkgfSBmcm9tICcuLi9tb2R1bGUtcmVnaXN0cnknO1xuaW1wb3J0IHsgZGljdCwgRGljdCB9IGZyb20gJ2dsaW1tZXItdXRpbCc7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEJhc2ljUmVnaXN0cnkgaW1wbGVtZW50cyBNb2R1bGVSZWdpc3RyeSB7XG4gIHByaXZhdGUgX2VudHJpZXM6IERpY3Q8YW55PjtcblxuICBjb25zdHJ1Y3RvcihlbnRyaWVzOiBEaWN0PGFueT4gPSBkaWN0PGFueT4oKSkge1xuICAgIHRoaXMuX2Vud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HA/OiBQYWNrYWdlRGVmaW5pdGlvbjtcbiAgYWRkb25zPzogRGljdDxQYWNrYWdlRGVmaW5pdGlvbj47XG4gIHR5cGVzOiBEaWN0PE1vZHVsZVR5cGVEZWZpbml0aW9uPjtcbiAgY29sbGVjdGlvbnM6IERpY3Q8TW9kdWxlQ29sbGVjdGlvbkRlZmluaXRpb24+O1xufVxuIl19 |
import { classCallCheck as _classCallCheck } from 'babel-helpers'; | ||
import { dict } from 'glimmer-util'; | ||
import { dict } from '@glimmer/util'; | ||
@@ -25,2 +25,2 @@ var BasicRegistry = function () { | ||
export default BasicRegistry; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtcmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvbW9kdWxlLXJlZ2lzdHJpZXMvYmFzaWMtcmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLEFBQU8sU0FBRSxBQUFJLEFBQVEsWUFBTSxBQUFjLEFBQUMsQUFFMUMsQUFBTSxBQUFDLEFBQU87OztBQUdaO1lBQVksOEVBQXFCLEFBQUksQUFBTzs7OztBQUMxQyxBQUFJLGFBQUMsQUFBUSxXQUFHLEFBQU8sQUFBQyxBQUMxQjtBQUFDOzs0QkFFRCxBQUFHLG1CQUFDLEFBQWlCO0FBQ25CLEFBQU0sZUFBQyxBQUFTLGFBQUksQUFBSSxLQUFDLEFBQVEsQUFBQyxBQUNwQztBQUFDOzs0QkFFRCxBQUFHLG1CQUFDLEFBQWlCO0FBQ25CLEFBQU0sZUFBQyxBQUFJLEtBQUMsQUFBUSxTQUFDLEFBQVMsQUFBQyxBQUFDLEFBQ2xDO0FBQUMsQUFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1vZHVsZVJlZ2lzdHJ5IH0gZnJvbSAnLi4vbW9kdWxlLXJlZ2lzdHJ5JztcbmltcG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lIE1vZHVsZUNvbGxlY3Rpb25EZWZpbml0aW9uIHtcbiAgZ3JvdXA/OiBzdHJpbmc7XG4gIHR5cGVzPzogc3RyaW5nW107XG4gIGRlZmF1bHRUeXBlPzogc3RyaW5nO1xuICBwcml2YXRlQ29sbGVjdGlvbnM/OiBzdHJpbmdbXTtcbiAgdW5yZXNvbHZhYmxlPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBSZXNvbHZlckNvbmZpZ3VyYXRpb24ge1xuICBhcHA/OiBQYWNrYWdlRGVmaW5pdGlvbjtcbiAgYWRkb25zPzogRGljdDxQYWNrYWdlRGVmaW5pdGlvbj47XG4gIHR5cGVzOiBEaWN0PE1vZHVsZVR5cGVEZWZpbml0aW9uPjtcbiAgY29sbGVjdGlvbnM6IERpY3Q8TW9kdWxlQ29sbGVjdGlvbkRlZmluaXRpb24+O1xufVxuIl19 |
import { ModuleRegistry } from '../module-registry'; | ||
import { Dict } from 'glimmer-util'; | ||
import { Dict } from '@glimmer/util'; | ||
export default class BasicRegistry implements ModuleRegistry { | ||
@@ -4,0 +4,0 @@ private _entries; |
@@ -1,2 +0,2 @@ | ||
import { Dict } from 'glimmer-util'; | ||
import { Dict } from '@glimmer/util'; | ||
export interface PackageDefinition { | ||
@@ -40,3 +40,3 @@ /** | ||
export interface ResolverConfiguration { | ||
app: PackageDefinition; | ||
app?: PackageDefinition; | ||
addons?: Dict<PackageDefinition>; | ||
@@ -43,0 +43,0 @@ types: Dict<ModuleTypeDefinition>; |
{ | ||
"name": "@glimmer/resolver", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Resolver for Glimmer apps.", | ||
@@ -16,3 +16,3 @@ "contributors": [ | ||
"license": "MIT", | ||
"main": "dist/commonjs/es2017/index.js", | ||
"main": "dist/commonjs/es5/index.js", | ||
"module": "dist/modules/es2017/index.js", | ||
@@ -27,12 +27,11 @@ "types": "dist/types/index.d.ts", | ||
"dependencies": { | ||
"@glimmer/di": "^0.1.5", | ||
"glimmer-util": "^0.5.3" | ||
"@glimmer/di": "^0.1.6", | ||
"@glimmer/util": "^0.21.0" | ||
}, | ||
"devDependencies": { | ||
"@glimmer/build": "^0.1.9", | ||
"@glimmer/build": "^0.2.0", | ||
"broccoli": "^1.1.0", | ||
"broccoli-cli": "^1.0.0", | ||
"glimmer-engine": "^0.18.1", | ||
"testem": "^1.13.0" | ||
} | ||
} |
import { ModuleRegistry } from '../module-registry'; | ||
import { dict, Dict } from 'glimmer-util'; | ||
import { dict, Dict } from '@glimmer/util'; | ||
@@ -4,0 +4,0 @@ export default class BasicRegistry implements ModuleRegistry { |
@@ -1,2 +0,2 @@ | ||
import { Dict } from 'glimmer-util'; | ||
import { Dict } from '@glimmer/util'; | ||
@@ -46,3 +46,3 @@ export interface PackageDefinition { | ||
export interface ResolverConfiguration { | ||
app: PackageDefinition; | ||
app?: PackageDefinition; | ||
addons?: Dict<PackageDefinition>; | ||
@@ -49,0 +49,0 @@ types: Dict<ModuleTypeDefinition>; |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
120598
4
968
2
+ Added@glimmer/util@^0.21.0
+ Added@glimmer/util@0.21.0(transitive)
- Removedglimmer-util@^0.5.3
- Removedglimmer-util@0.5.3(transitive)
Updated@glimmer/di@^0.1.6