Socket
Socket
Sign inDemoInstall

iptreader

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.1.0

16

lib/iptreader.js

@@ -169,10 +169,13 @@ #!/usr/bin/env node

if(la == 0x1F){
// console.log('0x' + pad(la.toString(16).toUpperCase(),8), '= STRING');
var str = readString(license, p);
licenseParts.push(str);
}else{
// console.log('0x' + pad(la.toString(16).toUpperCase(),8), '');
p.pos+=4;
// p.pos+=4;
// licenseParts.push('0x' + pad(la.toString(16).toUpperCase(),8));
licenseParts.push('0x' + pad(la.toString(16).toUpperCase(),8));
for (var i = 0; i < 4; i++) {
var la = license.readUInt8(p.pos); p.pos+=1;
licenseParts.push('0x' + pad(la.toString(16).toUpperCase(),2));
};
}

@@ -198,4 +201,5 @@ }

var buffer = new Buffer(4);
buffer.writeUInt32LE(value, 0);
var buffer = new Buffer(1);
buffer.writeUInt8(value, 0);

@@ -202,0 +206,0 @@ buffers.push(buffer);

{
"name": "iptreader",
"description": "iptreader is a node.js library to read and change the license of IPT-files (Autodesk Inventor files)",
"version": "0.0.1",
"version": "0.1.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Sam Decrock",

@@ -19,8 +19,13 @@ # Autodesk Inventor License Reader

var someLicense = [
'Name',
'0x00000000',
'0x00000000',
'0x00000000',
'0x00000000',
'Some Buildnumber'
'Some Name',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'Some Build Number'
];

@@ -27,0 +32,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc