@norith/glimmerx-service 1.0.1 → 1.0.2

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.
@@ -2,14 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.service = void 0;
4
4
  const glimmerx_core_1 = require("@norith/glimmerx-core");
5
- const debug_1 = require("@glimmer/debug");
5
+ const glimmer_debug_1 = require("@norith/glimmer-debug");
6
6
  function makeServiceDecorator(name) {
7
7
  return () => ({
8
8
  enumerable: true,
9
9
  configurable: false,
10
10
  get() {
11
11
  const owner = (0, glimmerx_core_1.getOwner)(this);
12
- (0, debug_1.assert)(owner, `Attempted to lookup the ${name} service on an instance of ${this}, but there was no owner set on that object`);
12
+ (0, glimmer_debug_1.assert)(owner, `Attempted to lookup the ${name} service on an instance of ${this}, but there was no owner set on that object`);
13
13
  return owner.lookup({ type: 'service', name });
14
14
  },
15
15
  });
@@ -1,5 +1,5 @@
1
1
  import { getOwner } from '@norith/glimmerx-core';
2
- import { assert } from '@glimmer/debug';
2
+ import { assert } from '@norith/glimmer-debug';
3
3
  function makeServiceDecorator(name) {
4
4
  return () => ({
5
5
  enumerable: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norith/glimmerx-service",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Services Functionality",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -20,7 +20,7 @@
20
20
  "build": "webpack"
21
21
  },
22
22
  "dependencies": {
23
- "@norith/glimmerx-core": "1.0.1",
23
+ "@norith/glimmerx-core": "1.0.2",
24
24
  "@norith/glimmer-debug": "1.0.0",
25
25
  "@glimmer/env": "^0.1.7",
26
26
  "ember-cli-babel": "^7.26.2"