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

assemblyscript

Package Overview
Dependencies
Maintainers
2
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assemblyscript - npm Package Compare versions

Comparing version 0.23.1 to 0.24.0

4

dist/importmap.js
export const importmap = {
"imports": {
"assemblyscript": "https://cdn.jsdelivr.net/npm/assemblyscript@0.23.1/dist/assemblyscript.js",
"assemblyscript/asc": "https://cdn.jsdelivr.net/npm/assemblyscript@0.23.1/dist/asc.js",
"assemblyscript": "https://cdn.jsdelivr.net/npm/assemblyscript@0.24.0/dist/assemblyscript.js",
"assemblyscript/asc": "https://cdn.jsdelivr.net/npm/assemblyscript@0.24.0/dist/asc.js",
"binaryen": "https://cdn.jsdelivr.net/npm/binaryen@110.0.0-nightly.20221105/index.js",

@@ -6,0 +6,0 @@ "long": "https://cdn.jsdelivr.net/npm/long@5.2.0/index.js"

{
"imports": {
"assemblyscript": "https://cdn.jsdelivr.net/npm/assemblyscript@0.23.1/dist/assemblyscript.js",
"assemblyscript/asc": "https://cdn.jsdelivr.net/npm/assemblyscript@0.23.1/dist/asc.js",
"assemblyscript": "https://cdn.jsdelivr.net/npm/assemblyscript@0.24.0/dist/assemblyscript.js",
"assemblyscript/asc": "https://cdn.jsdelivr.net/npm/assemblyscript@0.24.0/dist/asc.js",
"binaryen": "https://cdn.jsdelivr.net/npm/binaryen@110.0.0-nightly.20221105/index.js",

@@ -6,0 +6,0 @@ "long": "https://cdn.jsdelivr.net/npm/long@5.2.0/index.js"

@@ -11,3 +11,3 @@ {

],
"version": "0.23.1",
"version": "0.24.0",
"author": "Daniel Wirtz <dcode+assemblyscript@dcode.io>",

@@ -14,0 +14,0 @@ "license": "Apache-2.0",

@@ -1,2 +0,2 @@

export class Object {
export abstract class Object {
static is<T>(x: T, y: T): bool {

@@ -22,2 +22,16 @@ if (isFloat<T>()) {

}
// TODO: Wrapper classes like `Function<T>` override the `this` type of
// `toString`, which is covariant and hence fails to overload. Wrapper classes
// might need a different mechanism to indicate such special `this` types.
// toString(): string {
// return "[object Object]";
// }
}
// TODO: The types `Object` and `object` differ in TypeScript, in that the
// latter indicates any non-primitive type, not including `string` for example.
// The `object` type hence remains reserved for now, also to potentially address
// the above `toString` TODO in alternative ways.
// @ts-ignore: nolib
// export type object = Object;

@@ -120,2 +120,3 @@ import { BLOCK, BLOCK_OVERHEAD, OBJECT_OVERHEAD, OBJECT_MAXSIZE, TOTAL_OVERHEAD, DEBUG, TRACE, RTRACE, PROFILE } from "./common";

let rtId = this.rtId;
// 0: Object, 1: ArrayBuffer, 2: String
return rtId <= idof<string>() || (__typeinfo(rtId) & TypeinfoFlags.POINTERFREE) != 0;

@@ -122,0 +123,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 too big to display

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

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