Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@glimmer/util

Package Overview
Dependencies
Maintainers
10
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glimmer/util - npm Package Compare versions

Comparing version 0.24.0-beta.4 to 0.24.0-beta.5

4

dist/amd/es5/glimmer-util.js

@@ -48,2 +48,5 @@ define('@glimmer/util', ['exports'], function (exports) { 'use strict';

}
function typePos(lastOperand) {
return lastOperand - 4;
}

@@ -501,2 +504,3 @@ // import Logger from './logger';

exports.unreachable = unreachable;
exports.typePos = typePos;

@@ -503,0 +507,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

@@ -9,2 +9,3 @@ 'use strict';

exports.unreachable = unreachable;
exports.typePos = typePos;
function unwrap(val) {

@@ -21,2 +22,5 @@ if (val === null || val === undefined) throw new Error(`Expected value to be present`);

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9wbGF0Zm9ybS11dGlscy5qcyJdLCJuYW1lcyI6WyJ1bndyYXAiLCJleHBlY3QiLCJ1bnJlYWNoYWJsZSIsInZhbCIsInVuZGVmaW5lZCIsIkVycm9yIiwibWVzc2FnZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7UUFBZ0JBLE0sR0FBQUEsTTtRQUlBQyxNLEdBQUFBLE07UUFJQUMsVyxHQUFBQSxXO0FBUlQsU0FBU0YsTUFBVCxDQUFnQkcsR0FBaEIsRUFBcUI7QUFDeEIsUUFBSUEsUUFBUSxJQUFSLElBQWdCQSxRQUFRQyxTQUE1QixFQUF1QyxNQUFNLElBQUlDLEtBQUosQ0FBVyw4QkFBWCxDQUFOO0FBQ3ZDLFdBQU9GLEdBQVA7QUFDSDtBQUNNLFNBQVNGLE1BQVQsQ0FBZ0JFLEdBQWhCLEVBQXFCRyxPQUFyQixFQUE4QjtBQUNqQyxRQUFJSCxRQUFRLElBQVIsSUFBZ0JBLFFBQVFDLFNBQTVCLEVBQXVDLE1BQU0sSUFBSUMsS0FBSixDQUFVQyxPQUFWLENBQU47QUFDdkMsV0FBT0gsR0FBUDtBQUNIO0FBQ00sU0FBU0QsV0FBVCxHQUF1QjtBQUMxQixXQUFPLElBQUlHLEtBQUosQ0FBVSxhQUFWLENBQVA7QUFDSCIsImZpbGUiOiJsaWIvcGxhdGZvcm0tdXRpbHMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gdW53cmFwKHZhbCkge1xuICAgIGlmICh2YWwgPT09IG51bGwgfHwgdmFsID09PSB1bmRlZmluZWQpIHRocm93IG5ldyBFcnJvcihgRXhwZWN0ZWQgdmFsdWUgdG8gYmUgcHJlc2VudGApO1xuICAgIHJldHVybiB2YWw7XG59XG5leHBvcnQgZnVuY3Rpb24gZXhwZWN0KHZhbCwgbWVzc2FnZSkge1xuICAgIGlmICh2YWwgPT09IG51bGwgfHwgdmFsID09PSB1bmRlZmluZWQpIHRocm93IG5ldyBFcnJvcihtZXNzYWdlKTtcbiAgICByZXR1cm4gdmFsO1xufVxuZXhwb3J0IGZ1bmN0aW9uIHVucmVhY2hhYmxlKCkge1xuICAgIHJldHVybiBuZXcgRXJyb3IoJ3VucmVhY2hhYmxlJyk7XG59Il19
function typePos(lastOperand) {
return lastOperand - 4;
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9wbGF0Zm9ybS11dGlscy5qcyJdLCJuYW1lcyI6WyJ1bndyYXAiLCJleHBlY3QiLCJ1bnJlYWNoYWJsZSIsInR5cGVQb3MiLCJ2YWwiLCJ1bmRlZmluZWQiLCJFcnJvciIsIm1lc3NhZ2UiLCJsYXN0T3BlcmFuZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7UUFBZ0JBLE0sR0FBQUEsTTtRQUlBQyxNLEdBQUFBLE07UUFJQUMsVyxHQUFB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ICByZXR1cm4gbmV3IEVycm9yKCd1bnJlYWNoYWJsZScpO1xufVxuZXhwb3J0IGZ1bmN0aW9uIHR5cGVQb3MobGFzdE9wZXJhbmQpIHtcbiAgICByZXR1cm4gbGFzdE9wZXJhbmQgLSA0O1xufSJdfQ==

@@ -9,2 +9,3 @@ 'use strict';

exports.unreachable = unreachable;
exports.typePos = typePos;
function unwrap(val) {

@@ -21,2 +22,5 @@ if (val === null || val === undefined) throw new Error('Expected value to be present');

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9wbGF0Zm9ybS11dGlscy5qcyJdLCJuYW1lcyI6WyJ1bndyYXAiLCJ2YWwiLCJ1bmRlZmluZWQiLCJFcnJvciIsImV4cGVjdCIsIm1lc3NhZ2UiLCJ1bnJlYWNoYWJsZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7UUFBTyxBQUFTO1FBSVQsQUFBUztRQUlULEFBQVM7QUFSVCxnQkFBQSxBQUFnQixLQUFLLEFBQ3hCO1FBQUksUUFBQSxBQUFRLFFBQVEsUUFBcEIsQUFBNEIsV0FBVyxNQUFNLElBQUEsQUFBSSxNQUFWLEFBQ3ZDO1dBQUEsQUFBTyxBQUNWO0FBQ0Q7QUFBTyxnQkFBQSxBQUFnQixLQUFoQixBQUFxQixTQUFTLEFBQ2pDO1FBQUksUUFBQSxBQUFRLFFBQVEsUUFBcEIsQUFBNEIsV0FBVyxNQUFNLElBQUEsQUFBSSxNQUFWLEFBQU0sQUFBVSxBQUN2RDtXQUFBLEFBQU8sQUFDVjtBQUNEO0FBQU8sdUJBQXVCLEFBQzFCO1dBQU8sSUFBQSxBQUFJLE1BQVgsQUFBTyxBQUFVLEFBQ3BCIiwiZmlsZSI6ImxpYi9wbGF0Zm9ybS11dGlscy5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiB1bndyYXAodmFsKSB7XG4gICAgaWYgKHZhbCA9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SxBQUFPLEFBQ1Y7QUFDRDtBQUFPLHVCQUF1QixBQUMxQjtXQUFPLElBQUEsQUFBSSxNQUFYLEFBQU8sQUFBVSxBQUNwQjtBQUNEO0FBQU8saUJBQUEsQUFBaUIsYUFBYSxBQUNqQztXQUFPLGNBQVAsQUFBcUIsQUFDeEIiLCJmaWxlIjoibGliL3BsYXRmb3JtLXV0aWxzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIHVud3JhcCh2YWwpIHtcbiAgICBpZiAodmFsID09PSBudWxsIHx8IHZhbCA9PT0gdW5kZWZpbmVkKSB0aHJvdyBuZXcgRXJyb3IoYEV4cGVjdGVkIHZhbHVlIHRvIGJlIHByZXNlbnRgKTtcbiAgICByZXR1cm4gdmFsO1xufVxuZXhwb3J0IGZ1bmN0aW9uIGV4cGVjdCh2YWwsIG1lc3NhZ2UpIHtcbiAgICBpZiAodmFsID09PSBudWxsIHx8IHZhbCA9PT0gdW5kZWZpbmVkKSB0aHJvdyBuZXcgRXJyb3IobWVzc2FnZSk7XG4gICAgcmV0dXJuIHZhbDtcbn1cbmV4cG9ydCBmdW5jdGlvbiB1bnJlYWNoYWJsZSgpIHtcbiAgICByZXR1cm4gbmV3IEVycm9yKCd1bnJlYWNoYWJsZScpO1xufVxuZXhwb3J0IGZ1bmN0aW9uIHR5cGVQb3MobGFzdE9wZXJhbmQpIHtcbiAgICByZXR1cm4gbGFzdE9wZXJhbmQgLSA0O1xufSJdfQ==

@@ -11,2 +11,5 @@ export function unwrap(val) {

return new Error('unreachable');
}
export function typePos(lastOperand) {
return lastOperand - 4;
}

5

dist/modules/es5/lib/platform-utils.js

@@ -12,2 +12,5 @@ export function unwrap(val) {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9wbGF0Zm9ybS11dGlscy5qcyJdLCJuYW1lcyI6WyJ1bndyYXAiLCJ2YWwiLCJ1bmRlZm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3IoYEV4cGVjdGVkIHZhbHVlIHRvIGJlIHByZXNlbnRgKTtcbiAgICByZXR1cm4gdmFsO1xufVxuZXhwb3J0IGZ1bmN0aW9uIGV4cGVjdCh2YWwsIG1lc3NhZ2UpIHtcbiAgICBpZiAodmFsID09PSBudWxsIHx8IHZhbCA9PT0gdW5kZWZpbmVkKSB0aHJvdyBuZXcgRXJyb3IobWVzc2FnZSk7XG4gICAgcmV0dXJuIHZhbDtcbn1cbmV4cG9ydCBmdW5jdGlvbiB1bnJlYWNoYWJsZSgpIHtcbiAgICByZXR1cm4gbmV3IEVycm9yKCd1bnJlYWNoYWJsZScpO1xufVxuZXhwb3J0IGZ1bmN0aW9uIHR5cGVQb3MobGFzdE9wZXJhbmQpIHtcbiAgICByZXR1cm4gbGFzdE9wZXJhbmQgLSA0O1xufSJdfQ==

@@ -7,1 +7,2 @@ export declare type Opaque = {} | void | null | undefined;

export declare function unreachable(): Error;
export declare function typePos(lastOperand: number): number;
{
"name": "@glimmer/util",
"version": "0.24.0-beta.4",
"version": "0.24.0-beta.5",
"description": "Common utilities used in Glimmer",

@@ -5,0 +5,0 @@ "repository": "https://github.com/tildeio/glimmer/tree/master/packages/@glimmer/util",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc