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

@ptloader/pcd

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ptloader/pcd - npm Package Compare versions

Comparing version 3.3.22 to 3.3.23

9

dist/dist.min.js

@@ -730,2 +730,5 @@ (() => {

}
if (offset.intersity !== void 0) {
position.push(parseFloat(line[offset.intersity]));
}
if (offset.rgb !== void 0) {

@@ -760,2 +763,5 @@ const floatValue = parseFloat(line[offset.rgb]);

}
if (offset.intersity !== void 0) {
dataview.getFloat32(row + offset.intersity, LITTLE_ENDIAN);
}
if (offset.rgb !== void 0) {

@@ -790,2 +796,5 @@ color.push(dataview.getUint8(row + offset.rgb + 0));

}
if (offset.intersity !== void 0) {
position.push(dataview.getFloat32(PCDheader.points * offset.intersity + PCDheader.size[2] * i, LITTLE_ENDIAN));
}
if (offset.rgb !== void 0) {

@@ -792,0 +801,0 @@ color.push(dataview.getUint8(PCDheader.points * offset.rgb + PCDheader.size[3] * i + 0) / 255);

@@ -164,2 +164,5 @@ "use strict";

}
if (offset.intersity !== undefined) {
position.push(parseFloat(line[offset.intersity]));
}
if (offset.rgb !== undefined) {

@@ -198,2 +201,5 @@ var floatValue = parseFloat(line[offset.rgb]);

}
if (offset.intersity !== undefined) {
dataview.getFloat32(row + offset.intersity, LITTLE_ENDIAN);
}
if (offset.rgb !== undefined) {

@@ -240,2 +246,5 @@ color.push(dataview.getUint8(row + offset.rgb + 0));

}
if (offset.intersity !== undefined) {
position.push(dataview.getFloat32(PCDheader.points * offset.intersity + PCDheader.size[2] * i, LITTLE_ENDIAN));
}
if (offset.rgb !== undefined) {

@@ -242,0 +251,0 @@ color.push(dataview.getUint8(PCDheader.points * offset.rgb + PCDheader.size[3] * i + 0) / 255.0);

2

dist/es5/pcd-loader.js

@@ -7,3 +7,3 @@ "use strict";

exports._typecheckPCDLoader = exports.PCDLoader = void 0;
var VERSION = typeof "3.3.22" !== 'undefined' ? "3.3.22" : 'latest';
var VERSION = typeof "3.3.23" !== 'undefined' ? "3.3.23" : 'latest';
var PCDLoader = {

@@ -10,0 +10,0 @@ name: 'PCD (Point Cloud Data)',

@@ -154,2 +154,5 @@ import { getMeshBoundingBox } from '@ptloader/schema';

}
if (offset.intersity !== undefined) {
position.push(parseFloat(line[offset.intersity]));
}
if (offset.rgb !== undefined) {

@@ -188,2 +191,5 @@ const floatValue = parseFloat(line[offset.rgb]);

}
if (offset.intersity !== undefined) {
dataview.getFloat32(row + offset.intersity, LITTLE_ENDIAN);
}
if (offset.rgb !== undefined) {

@@ -230,2 +236,5 @@ color.push(dataview.getUint8(row + offset.rgb + 0));

}
if (offset.intersity !== undefined) {
position.push(dataview.getFloat32(PCDheader.points * offset.intersity + PCDheader.size[2] * i, LITTLE_ENDIAN));
}
if (offset.rgb !== undefined) {

@@ -232,0 +241,0 @@ color.push(dataview.getUint8(PCDheader.points * offset.rgb + PCDheader.size[3] * i + 0) / 255.0);

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

const VERSION = typeof "3.3.22" !== 'undefined' ? "3.3.22" : 'latest';
const VERSION = typeof "3.3.23" !== 'undefined' ? "3.3.23" : 'latest';
export const PCDLoader = {

@@ -3,0 +3,0 @@ name: 'PCD (Point Cloud Data)',

@@ -186,2 +186,3 @@ "use strict";

/* eslint-enable complexity, max-statements */
// eslint-disable-next-line max-statements
function parsePCDASCII(pcdHeader, textData) {

@@ -202,2 +203,5 @@ const position = [];

}
if (offset.intersity !== undefined) {
position.push(parseFloat(line[offset.intersity]));
}
if (offset.rgb !== undefined) {

@@ -238,2 +242,5 @@ const floatValue = parseFloat(line[offset.rgb]);

}
if (offset.intersity !== undefined) {
dataview.getFloat32(row + offset.intersity, LITTLE_ENDIAN);
}
if (offset.rgb !== undefined) {

@@ -275,2 +282,5 @@ color.push(dataview.getUint8(row + offset.rgb + 0));

}
if (offset.intersity !== undefined) {
position.push(dataview.getFloat32(PCDheader.points * offset.intersity + PCDheader.size[2] * i, LITTLE_ENDIAN));
}
if (offset.rgb !== undefined) {

@@ -277,0 +287,0 @@ color.push(dataview.getUint8(PCDheader.points * offset.rgb + PCDheader.size[3] * i + 0) / 255.0);

@@ -866,2 +866,5 @@ (() => {

}
if (offset.intersity !== void 0) {
position.push(parseFloat(line[offset.intersity]));
}
if (offset.rgb !== void 0) {

@@ -896,2 +899,5 @@ const floatValue = parseFloat(line[offset.rgb]);

}
if (offset.intersity !== void 0) {
dataview.getFloat32(row + offset.intersity, LITTLE_ENDIAN);
}
if (offset.rgb !== void 0) {

@@ -926,2 +932,5 @@ color.push(dataview.getUint8(row + offset.rgb + 0));

}
if (offset.intersity !== void 0) {
position.push(dataview.getFloat32(PCDheader.points * offset.intersity + PCDheader.size[2] * i, LITTLE_ENDIAN));
}
if (offset.rgb !== void 0) {

@@ -946,3 +955,3 @@ color.push(dataview.getUint8(PCDheader.points * offset.rgb + PCDheader.size[3] * i + 0) / 255);

// src/pcd-loader.ts
var VERSION = true ? "3.3.22" : "latest";
var VERSION = true ? "3.3.23" : "latest";
var PCDLoader = {

@@ -949,0 +958,0 @@ name: "PCD (Point Cloud Data)",

{
"name": "@ptloader/pcd",
"version": "3.3.22",
"version": "3.3.23",
"description": "Framework-independent loader for the PCD format",

@@ -36,6 +36,6 @@ "license": "MIT",

"dependencies": {
"@ptloader/loader-utils": "3.3.22",
"@ptloader/schema": "3.3.22"
"@ptloader/loader-utils": "3.3.23",
"@ptloader/schema": "3.3.23"
},
"gitHead": "b73df0fb8c33d309d6a73df92a7ef60d12305d51"
"gitHead": "def52a15de4a340bad3dcea6e8b8d6400cd80fad"
}

@@ -244,2 +244,3 @@ // PCD Loader, adapted from THREE.js (MIT license)

/* eslint-enable complexity, max-statements */
// eslint-disable-next-line max-statements
function parsePCDASCII(pcdHeader: PCDHeader, textData: string): HeaderAttributes {

@@ -264,2 +265,6 @@ const position: number[] = [];

if (offset.intersity !== undefined) {
position.push(parseFloat(line[offset.intersity]))
}
if (offset.rgb !== undefined) {

@@ -306,2 +311,6 @@ const floatValue = parseFloat(line[offset.rgb]);

if (offset.intersity !== undefined) {
dataview.getFloat32(row + offset.intersity, LITTLE_ENDIAN);
}
if (offset.rgb !== undefined) {

@@ -368,2 +377,11 @@ color.push(dataview.getUint8(row + offset.rgb + 0));

if (offset.intersity !== undefined) {
position.push(
dataview.getFloat32(
(PCDheader.points as number) * offset.intersity + (PCDheader.size as number[])[2] * i,
LITTLE_ENDIAN
)
);
}
if (offset.rgb !== undefined) {

@@ -370,0 +388,0 @@ color.push(

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