@glimmer/runtime
Advanced tools
Comparing version 0.79.0 to 0.79.1
@@ -8,4 +8,2 @@ "use strict"; | ||
var _env = require("@glimmer/env"); | ||
var _manager = require("@glimmer/manager"); | ||
@@ -58,6 +56,2 @@ | ||
getOwnPropertyDescriptor(target, prop) { | ||
if (_env.DEBUG && !(prop in this.named)) { | ||
throw new Error(`args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys(). Attempted to get the descriptor for \`${String(prop)}\``); | ||
} | ||
if (prop in this.named) { | ||
@@ -144,2 +138,2 @@ return { | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2hlbHBlcnMvaGFzaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUE7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBRUEsU0FBQSxTQUFBLENBQUEsSUFBQSxFQUFBLEdBQUEsRUFBNkQ7QUFDM0QsU0FBTyxzQkFBTSxNQUFNLElBQUksQ0FBdkIsR0FBdUIsQ0FBaEIsQ0FBUDtBQUNEOztBQUVELElBQUEsWUFBQTs7QUFFQSxNQUFBLFNBQUEsQ0FBZTtBQUNiLEVBQUEsV0FBQSxDQUFBLEtBQUEsRUFBaUQ7QUFBN0IsU0FBQSxLQUFBLEdBQUEsS0FBQTtBQUFpQzs7QUFFckQsRUFBQSxHQUFHLENBQUEsTUFBQSxFQUFBLElBQUEsRUFBQSxRQUFBLEVBQTBFO0FBQzNFLFVBQU0sR0FBRyxHQUFHLEtBQUEsS0FBQSxDQUFaLElBQVksQ0FBWjs7QUFFQSxRQUFJLEdBQUcsS0FBUCxTQUFBLEVBQXVCO0FBQ3JCLGFBQU8sNEJBQVA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dHlwZSBjaGFpbiwgdGhlcmVmb3JlXG4gICBjb21tb24gbWV0aG9kcyBsaWtlIGB0b1N0cmluZ2AgYXJlIG5vdCBhdmFpbGFibGUgaW4gdGhlIHJlc3VsdGluZyBoYXNoLlxuICAgSWYgeW91IG5lZWQgdG8gdXNlIHN1Y2ggYSBtZXRob2QsIHlvdSBjYW4gdXNlIHRoZSBgY2FsbGAgb3IgYGFwcGx5YFxuICAgYXBwcm9hY2g6XG5cbiAgIGBgYGpzXG4gICBmdW5jdGlvbiB0b1N0cmluZyhvYmopIHtcbiAgICAgcmV0dXJuIE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuYXBwbHkob2JqKTtcbiAgIH1cbiAgIGBgYFxuXG4gICBAbWV0aG9kIGhhc2hcbiAgIEBwYXJhbSB7T2JqZWN0fSBvcHRpb25zXG4gICBAcmV0dXJuIHtPYmplY3R9IEhhc2hcbiAgIEBwdWJsaWNcbiAqL1xuZXhwb3J0IGRlZmF1bHQgaW50ZXJuYWxIZWxwZXIoXG4gICh7IG5hbWVkIH06IENhcHR1cmVkQXJndW1lbnRzKTogUmVmZXJlbmNlPERpY3Q8dW5rbm93bj4+ID0+IHtcbiAgICByZXR1cm4gY3JlYXRlQ29uc3RSZWYoaGFzaFByb3h5Rm9yKG5hbWVkKSwgJ2hhc2gnKTtcbiAgfVxuKTtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -8,4 +8,2 @@ "use strict"; | ||
var _env = require("@glimmer/env"); | ||
var _manager = require("@glimmer/manager"); | ||
@@ -62,6 +60,2 @@ | ||
_proto.getOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, prop) { | ||
if (_env.DEBUG && !(prop in this.named)) { | ||
throw new Error("args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys(). Attempted to get the descriptor for `" + String(prop) + "`"); | ||
} | ||
if (prop in this.named) { | ||
@@ -150,2 +144,2 @@ return { | ||
exports.default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IHByb3RvdHlwZSBjaGFpbiwgdGhlcmVmb3JlXG4gICBjb21tb24gbWV0aG9kcyBsaWtlIGB0b1N0cmluZ2AgYXJlIG5vdCBhdmFpbGFibGUgaW4gdGhlIHJlc3VsdGluZyBoYXNoLlxuICAgSWYgeW91IG5lZWQgdG8gdXNlIHN1Y2ggYSBtZXRob2QsIHlvdSBjYW4gdXNlIHRoZSBgY2FsbGAgb3IgYGFwcGx5YFxuICAgYXBwcm9hY2g6XG5cbiAgIGBgYGpzXG4gICBmdW5jdGlvbiB0b1N0cmluZyhvYmopIHtcbiAgICAgcmV0dXJuIE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmcuYXBwbHkob2JqKTtcbiAgIH1cbiAgIGBgYFxuXG4gICBAbWV0aG9kIGhhc2hcbiAgIEBwYXJhbSB7T2JqZWN0fSBvcHRpb25zXG4gICBAcmV0dXJuIHtPYmplY3R9IEhhc2hcbiAgIEBwdWJsaWNcbiAqL1xuZXhwb3J0IGRlZmF1bHQgaW50ZXJuYWxIZWxwZXIoXG4gICh7IG5hbWVkIH06IENhcHR1cmVkQXJndW1lbnRzKTogUmVmZXJlbmNlPERpY3Q8dW5rbm93bj4+ID0+IHtcbiAgICByZXR1cm4gY3JlYXRlQ29uc3RSZWYoaGFzaFByb3h5Rm9yKG5hbWVkKSwgJ2hhc2gnKTtcbiAgfVxuKTtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -1,2 +0,1 @@ | ||
import { DEBUG } from '@glimmer/env'; | ||
import { setCustomTagFor } from '@glimmer/manager'; | ||
@@ -44,6 +43,2 @@ import { createConstRef, valueForRef } from '@glimmer/reference'; | ||
getOwnPropertyDescriptor(target, prop) { | ||
if (DEBUG && !(prop in this.named)) { | ||
throw new Error(`args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys(). Attempted to get the descriptor for \`${String(prop)}\``); | ||
} | ||
if (prop in this.named) { | ||
@@ -128,2 +123,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In0= |
@@ -1,2 +0,1 @@ | ||
import { DEBUG } from '@glimmer/env'; | ||
import { setCustomTagFor } from '@glimmer/manager'; | ||
@@ -48,6 +47,2 @@ import { createConstRef, valueForRef } from '@glimmer/reference'; | ||
_proto.getOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, prop) { | ||
if (DEBUG && !(prop in this.named)) { | ||
throw new Error("args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys(). Attempted to get the descriptor for `" + String(prop) + "`"); | ||
} | ||
if (prop in this.named) { | ||
@@ -134,2 +129,2 @@ return { | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2hlbHBlcnMvaGFzaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFBLEtBQUEsUUFBQSxjQUFBO0FBRUEsU0FBQSxlQUFBLFFBQUEsa0JBQUE7QUFDQSxTQUFBLGNBQUEsRUFBQSxXQUFBLFFBQUEsb0JBQUE7QUFDQSxTQUFBLElBQUEsRUFBQSxnQkFBQSxRQUFBLGVBQUE7QUFDQSxTQUFBLEtBQUEsUUFBQSxvQkFBQTtBQUNBLFNBQUEsTUFBQSxRQUFBLHlCQUFBO0FBQ0EsU0FBQSxjQUFBLFFBQUEsbUJBQUE7O0FBRUEsU0FBQSxTQUFBLENBQUEsSUFBQSxFQUFBLEdBQUEsRUFBNkQ7QUFDM0QsU0FBTyxLQUFLLENBQUM7QUFBQSxXQUFNLElBQUksQ0FBdkIsR0FBdUIsQ0FBVjtBQUFBLEdBQUQsQ0FBWjtBQUNEOztBQUVELElBQUEsWUFBQTs7SUFFQSxTO0FBQ0UscUJBQUEsS0FBQSxFQUFpRDtBQUE3QixTQUFBLEtBQUEsR0FBQSxLQUFBO0FBQ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SB7T2JqZWN0fSBvcHRpb25zXG4gICBAcmV0dXJuIHtPYmplY3R9IEhhc2hcbiAgIEBwdWJsaWNcbiAqL1xuZXhwb3J0IGRlZmF1bHQgaW50ZXJuYWxIZWxwZXIoXG4gICh7IG5hbWVkIH06IENhcHR1cmVkQXJndW1lbnRzKTogUmVmZXJlbmNlPERpY3Q8dW5rbm93bj4+ID0+IHtcbiAgICByZXR1cm4gY3JlYXRlQ29uc3RSZWYoaGFzaFByb3h5Rm9yKG5hbWVkKSwgJ2hhc2gnKTtcbiAgfVxuKTtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
{ | ||
"name": "@glimmer/runtime", | ||
"version": "0.79.0", | ||
"version": "0.79.1", | ||
"description": "Minimal runtime needed to render Glimmer templates", | ||
@@ -9,19 +9,19 @@ "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/runtime", | ||
"@glimmer/env": "0.1.7", | ||
"@glimmer/global-context": "0.79.0", | ||
"@glimmer/global-context": "0.79.1", | ||
"@glimmer/low-level": "0.78.2", | ||
"@glimmer/util": "0.79.0", | ||
"@glimmer/reference": "0.79.0", | ||
"@glimmer/validator": "0.79.0", | ||
"@glimmer/wire-format": "0.79.0", | ||
"@glimmer/interfaces": "0.79.0", | ||
"@glimmer/destroyable": "0.79.0", | ||
"@glimmer/owner": "0.79.0", | ||
"@glimmer/program": "0.79.0", | ||
"@glimmer/vm": "0.79.0", | ||
"@glimmer/util": "0.79.1", | ||
"@glimmer/reference": "0.79.1", | ||
"@glimmer/validator": "0.79.1", | ||
"@glimmer/wire-format": "0.79.1", | ||
"@glimmer/interfaces": "0.79.1", | ||
"@glimmer/destroyable": "0.79.1", | ||
"@glimmer/owner": "0.79.1", | ||
"@glimmer/program": "0.79.1", | ||
"@glimmer/vm": "0.79.1", | ||
"@simple-dom/interface": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@glimmer/local-debug-flags": "0.79.0", | ||
"@glimmer/opcode-compiler": "0.79.0", | ||
"@glimmer/debug": "0.79.0", | ||
"@glimmer/local-debug-flags": "0.79.1", | ||
"@glimmer/opcode-compiler": "0.79.1", | ||
"@glimmer/debug": "0.79.1", | ||
"@types/qunit": "^2.9.0" | ||
@@ -28,0 +28,0 @@ }, |
Sorry, the diff of this file is too big to display
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
4375613
38326
+ Added@glimmer/destroyable@0.79.1(transitive)
+ Added@glimmer/encoder@0.79.1(transitive)
+ Added@glimmer/global-context@0.79.1(transitive)
+ Added@glimmer/interfaces@0.79.1(transitive)
+ Added@glimmer/manager@0.79.1(transitive)
+ Added@glimmer/opcode-compiler@0.79.1(transitive)
+ Added@glimmer/owner@0.79.1(transitive)
+ Added@glimmer/program@0.79.1(transitive)
+ Added@glimmer/reference@0.79.1(transitive)
+ Added@glimmer/util@0.79.1(transitive)
+ Added@glimmer/validator@0.79.1(transitive)
+ Added@glimmer/vm@0.79.1(transitive)
+ Added@glimmer/wire-format@0.79.1(transitive)
- Removed@glimmer/destroyable@0.79.0(transitive)
- Removed@glimmer/encoder@0.79.0(transitive)
- Removed@glimmer/global-context@0.79.0(transitive)
- Removed@glimmer/interfaces@0.79.0(transitive)
- Removed@glimmer/manager@0.79.0(transitive)
- Removed@glimmer/opcode-compiler@0.79.0(transitive)
- Removed@glimmer/owner@0.79.0(transitive)
- Removed@glimmer/program@0.79.0(transitive)
- Removed@glimmer/reference@0.79.0(transitive)
- Removed@glimmer/util@0.79.0(transitive)
- Removed@glimmer/validator@0.79.0(transitive)
- Removed@glimmer/vm@0.79.0(transitive)
- Removed@glimmer/wire-format@0.79.0(transitive)
Updated@glimmer/destroyable@0.79.1
Updated@glimmer/interfaces@0.79.1
Updated@glimmer/owner@0.79.1
Updated@glimmer/program@0.79.1
Updated@glimmer/reference@0.79.1
Updated@glimmer/util@0.79.1
Updated@glimmer/validator@0.79.1
Updated@glimmer/vm@0.79.1
Updated@glimmer/wire-format@0.79.1