New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

as-bignum

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-bignum - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

assembly/integer/safe/index.ts

3

assembly/__tests__/safe_u128.spec.as.ts

@@ -1,3 +0,4 @@

import { u128 } from '../../assembly/integer/safe/u128';
import { u128Safe as u128 } from '..';
describe("Basic operations", () => {

@@ -4,0 +5,0 @@ it("Should add two numbers 1", () => {

export * from "./u128";
export * from "./u256";
export * from "./safe";

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

import { u256 } from './u256';
import { u256Safe as u256 } from './u256';
import { i128 } from './i128';

@@ -17,3 +17,3 @@ import { i256 } from './i256';

// export namespace safe {
export class u128 extends U128 {
class u128 extends U128 {

@@ -278,1 +278,3 @@ @inline static get Zero(): u128 { return new u128(); }

}
export { u128 as u128Safe };
import { u256 as U256 } from '../u256';
export class u256 extends U256 {
class u256 extends U256 {
// TODO override add, sub, inc, dec, mul, div, rem operators
}
export { u256 as u256Safe };

@@ -905,3 +905,2 @@ import { i128 } from './i128';

*/
@inline
clone(): u128 {

@@ -908,0 +907,0 @@ return new u128(this.lo, this.hi);

@@ -608,3 +608,2 @@ import { i128 } from './i128';

@inline
clone(): u256 {

@@ -611,0 +610,0 @@ return new u256(this.lo1, this.lo2, this.hi1, this.hi2);

{
"name": "as-bignum",
"version": "0.2.10",
"version": "0.2.11",
"description": "128 and 256 bits integer and fixed point arithmetics for AssemblyScript. Also support checking overflow/underflow",

@@ -5,0 +5,0 @@ "main": "js/index.js",

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