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

scryptlib

Package Overview
Dependencies
Maintainers
4
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scryptlib - npm Package Compare versions

Comparing version 2.1.18-test.5 to 2.1.18

4

CHANGELOG.md
# CHANGELOG
## 2.1.18
- Fix patching issue.
## 2.1.17

@@ -4,0 +8,0 @@

2

package.json
{
"name": "scryptlib",
"version": "2.1.18-test.5",
"version": "2.1.18",
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.",

@@ -5,0 +5,0 @@ "engines": {

@@ -9,20 +9,16 @@

function apply(patches) {
console.log('__filename', __filename)
console.log('__dirname', __dirname)
console.log('cwd', process.cwd())
console.log('process.env.NODE_ENV', process.env.NODE_ENV)
const targets = findNodeModules({ relative: false })
const targets = findNodeModules({ relative: false })
console.log('target', targets)
if (targets.length < 1) {
throw new Error('No node modules found.');
}
patches.map(patch => {
targets.forEach(target => {
try {
const dest = join(target, patch);
console.log('dest', dest)
const src = join(__dirname, patch);
copyFileSync(src, dest);
} catch (error) {
}
})

@@ -29,0 +25,0 @@ })

@@ -664,3 +664,5 @@ /* eslint-disable @typescript-eslint/ban-types */

One: BN;
static Zero: BN;
static One: BN;
static Minus1: BN;

@@ -680,2 +682,3 @@ clone(): BN;

isZero(): boolean;
isBN(): boolean;
cmp(b: any): number;

@@ -724,3 +727,2 @@ lt(b: any): boolean;

static fromNumber(n: number): BN;
//toBuffer(opts?: IOpts): Buffer;
static fromHex(hex: string, opts?: IOpts): BN;

@@ -727,0 +729,0 @@ static fromString(hex: string, base?: number): BN;

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