Socket
Socket
Sign inDemoInstall

long

Package Overview
Dependencies
0
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.0 to 3.0.0

dist/long.js

4

bower.json
{
"name": "long",
"version": "2.4.0",
"version": "3.0.0",
"author": "Daniel Wirtz <dcode@dcode.io>",
"description": "A Long class for representing a 64 bit two's-complement integer value.",
"main": "dist/Long.js",
"main": "dist/long.js",
"keywords": ["math"],
"license": "Apache-2.0"
}
Distributions
=============
* **[Long.js](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/Long.js)**
* **[long.js](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/long.js)**
contains the commented source.
* **[Long.min.js](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/Long.min.js)**
* **[long.min.js](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/long.min.js)**
has been compiled with Closure Compiler using `--compilation_level=ADVANCED_OPTIMIZATIONS`.
* **[Long.min.js.gz](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/Long.min.js.gz)**
* **[long.min.js.gz](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/long.min.js.gz)**
has also been gzipped using `-9`.
* **[Long.min.map](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/Long.min.map)**
* **[long.min.map](https://raw.githubusercontent.com/dcodeIO/Long.js/master/dist/long.min.map)**
is the source map generated by Closure Compiler.
Also available as `long` on [npm](https://www.npmjs.org/package/long) and [bower](http://bower.io/search/?q=long).

@@ -1,18 +0,1 @@

/*
Copyright 2013 Daniel Wirtz <dcode@dcode.io>
Copyright 2009 The Closure Library Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
module.exports = require("./dist/Long.js");
module.exports = require("./dist/long.js");
{
"name": "long",
"version": "2.4.0",
"version": "3.0.0",
"author": "Daniel Wirtz <dcode@dcode.io>",
"description": "A Long class for representing a 64-bit two's-complement integer value.",
"main": "dist/Long.js",
"main": "dist/long.js",
"repository": {
"type": "git",
"url": "https://github.com/dcodeIO/Long.js.git"
"url": "https://github.com/dcodeIO/long.js.git"
},
"bugs": {
"url": "https://github.com/dcodeIO/long.js/issues"
},
"keywords": ["math"],

@@ -26,6 +29,6 @@ "dependencies": {

"make": "npm run-script build && npm run-script compile && npm run-script compress && npm test",
"compile": "ccjs dist/Long.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/Long.min.map > dist/Long.min.js",
"compress": "gzip -c -9 dist/Long.min.js > dist/Long.min.js.gz",
"compile": "ccjs dist/long.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/long.min.map > dist/long.min.js",
"compress": "gzip -c -9 dist/long.min.js > dist/long.min.js.gz",
"test": "node node_modules/testjs/bin/testjs tests/suite.js"
}
}

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

![Long.js - A Long class for representing a 64 bit two's-complement integer ](https://raw.github.com/dcodeIO/Long.js/master/Long.png)
![Long.js - A Long class for representing a 64 bit two's-complement integer ](https://raw.github.com/dcodeIO/Long.js/master/long.png)
=======

@@ -232,3 +232,3 @@ A Long class for representing a 64 bit two's-complement integer value derived from the [Closure Library](https://github.com/google/closure-library)

#### Long#div(divisor)
#### Long#divide/div(divisor)

@@ -242,3 +242,3 @@ Returns this Long divided by the specified.

#### Long#equals(other)
#### Long#equals/eq(other)

@@ -292,3 +292,3 @@ Tests if this Long's value equals the specified's.

#### Long#greaterThan(other)
#### Long#greaterThan/gt(other)

@@ -302,3 +302,3 @@ Tests if this Long's value is greater than the specified's.

#### Long#greaterThanOrEqual(other)
#### Long#greaterThanOrEqual/gte(other)

@@ -352,3 +352,3 @@ Tests if this Long's value is greater than or equal the specified's.

#### Long#lessThan(other)
#### Long#lessThan/lt(other)

@@ -362,3 +362,3 @@ Tests if this Long's value is less than the specified's.

#### Long#lessThanOrEqual(other)
#### Long#lessThanOrEqual/lte(other)

@@ -372,3 +372,3 @@ Tests if this Long's value is less than or equal the specified's.

#### Long#modulo(divisor)
#### Long#modulo/mod(divisor)

@@ -382,3 +382,3 @@ Returns this Long modulo the specified.

#### Long#multiply(multiplier)
#### Long#multiply/mul(multiplier)

@@ -392,3 +392,3 @@ Returns the product of this and the specified Long.

#### Long#negate()
#### Long#negate/neg()

@@ -409,3 +409,3 @@ Negates this Long's value.

#### Long#notEquals(other)
#### Long#notEquals/neq(other)

@@ -428,3 +428,3 @@ Tests if this Long's value differs from the specified's.

#### Long#shiftLeft(numBits)
#### Long#shiftLeft/shl(numBits)

@@ -438,3 +438,3 @@ Returns this Long with bits shifted to the left by the given amount.

#### Long#shiftRight(numBits)
#### Long#shiftRight/shr(numBits)

@@ -448,3 +448,3 @@ Returns this Long with bits arithmetically shifted to the right by the given amount.

#### Long#shiftRightUnsigned(numBits)
#### Long#shiftRightUnsigned/shru(numBits)

@@ -458,3 +458,3 @@ Returns this Long with bits logically shifted to the right by the given amount.

#### Long#subtract(subtrahend)
#### Long#subtract/sub(subtrahend)

@@ -461,0 +461,0 @@ Returns the difference of this and the specified Long.

@@ -16,3 +16,3 @@ var MetaScript = require("metascript"),

fs.writeFileSync(
path.join(distDir, "Long.js"),
path.join(distDir, "long.js"),
MetaScript.transform(fs.readFileSync(filename = path.join(srcDir, "wrap.js")), filename, scope, srcDir)

@@ -19,0 +19,0 @@ );

@@ -6,5 +6,5 @@ {

"description": "A Long class for representing a 64 bit two's-complement integer value.",
"main": "dist/Long.js",
"main": "dist/long.js",
"keywords": ["math"],
"license": "Apache-2.0"
}

@@ -35,5 +35,5 @@ /*

//? include("Long.js");
//? include("long.js");
return Long;
});

@@ -17,5 +17,2 @@ /*

/**
* Long.js Pretty Simple Test Suite.
*/
var Long = require(__dirname+"/../index.js"),

@@ -22,0 +19,0 @@ gmLong = require("./goog.math.long.js");

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc