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

web-ifc

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-ifc - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

web-ifc-api-node.mjs

35

package.json
{
"name": "web-ifc",
"version": "0.0.40",
"version": "0.0.41",
"description": "ifc loading on the web",
"main": "web-ifc-api-node.js",
"module": "web-ifc-api.js",
"module": "./web-ifc-api.js",
"main" : "./web-ifc-api-node.js",
"exports": {
".": {
"require": "./web-ifc-api-node.js",
"node": "./web-ifc-api-node.mjs",
"import": "./web-ifc-api.js",
"browser": "./web-ifc-api.js"
}
},
"watch": {

@@ -14,3 +22,3 @@ "build-viewer": {

},
"build-web-ifc-api-mjs": {
"build-web-ifc-api-node": {
"patterns": [

@@ -33,3 +41,4 @@ "./src"

"setup-mingw": "mingw-get instal msys-make gettext",
"build-release": "npm run build-wasm-release && npm run build-api",
"build-release": "npm run build-wasm-release && npm run build-api && npm run build-cleanup",
"build-cleanup": "rimraf dist/helpers/properties.ts && rimraf dist/web-ifc-api.ts && rimraf dist/ifc-schema.ts",
"build-debug": "npm run build-wasm-debug && npm run build-api",

@@ -42,7 +51,7 @@ "publish-repo": "npm run set-version && cd dist && npm publish",

"build-wasm-release": "make-dir src/wasm/build && cd src/wasm/build && emcmake cmake .. -DEMSCRIPTEN=true -DCMAKE_BUILD_TYPE=Release && emmake make && npm run copy-to-dist",
"build-api": "make-dir dist/helpers && npm run build-ts-api && npm run build-web-ifc-api-mjs && npm run build-web-ifc-api-browser && npm run build-web-ifc-api-node && cpy README.md dist && cpy package.json dist",
"build-api": "make-dir dist/helpers && npm run build-ts-api && npm run build-web-ifc-api-browser && npm run build-web-ifc-api-node && npm run build-web-ifc-api-umd &&cpy README.md dist && cpy package.json dist",
"build-ts-api": "make-dir dist/helpers && cpy \"src/*.ts\" dist && cpy \"src/helpers/*\" dist/helpers --flat && tsc --incremental --emitDeclarationOnly && cpy dist/web-ifc-api.d.ts . --rename=web-ifc-api-node.d.ts",
"build-web-ifc-api-mjs": "make-dir dist && esbuild dist/web-ifc-api.ts --bundle --format=esm --external:path --external:fs --external:os --external:perf_hooks --outfile=./dist/web-ifc-api.js",
"build-web-ifc-api-browser": "make-dir dist && esbuild dist/web-ifc-api.ts --bundle --format=iife --global-name=WebIFC --external:os --external:path --external:fs --external:perf_hooks --outfile=./dist/web-ifc-api-browser.js",
"build-web-ifc-api-node": "make-dir dist && esbuild dist/web-ifc-api.ts --bundle --platform=node --outfile=./dist/web-ifc-api-node.js",
"build-web-ifc-api-node": "make-dir dist && esbuild dist/web-ifc-api.ts --bundle --format=esm --external:path --define:__WASM_PATH__=\\\"./web-ifc-node\\\" --external:fs --external:os --external:perf_hooks --outfile=./dist/web-ifc-api-node.mjs && esbuild dist/web-ifc-api.ts --define:__WASM_PATH__=\\\"./web-ifc-node\\\" --bundle --platform=node --outfile=./dist/web-ifc-api-node.js",
"build-web-ifc-api-browser": "make-dir dist && esbuild dist/web-ifc-api.ts --bundle --format=esm --define:__WASM_PATH__=\\\"./web-ifc\\\" --outfile=./dist/web-ifc-api.js",
"build-web-ifc-api-umd": "make-dir dist && esbuild dist/web-ifc-api.ts --bundle --format=iife --define:__WASM_PATH__=\\\"./web-ifc\\\" --outfile=./dist/web-ifc-api-umd.js",
"build-viewer": "cd examples/viewer/ && npm run build",

@@ -67,6 +76,7 @@ "serve-viewer": "npm run build-viewer && cd examples/viewer/ && npm run start",

"web-ifc-mt.wasm",
"web-ifc-node.wasm",
"web-ifc-api-node.js",
"web-ifc-api-node.mjs",
"web-ifc-api-node.d.ts",
"web-ifc-api.js",
"web-ifc-api-browser.js",
"web-ifc-api.d.ts",

@@ -76,3 +86,3 @@ "ifc-schema.d.ts",

"helpers/log.d.ts",
"web-ifc-mt-worker.js"
"web-ifc-mt.worker.js"
],

@@ -89,2 +99,3 @@ "devDependencies": {

"npm-watch": "^0.10.0",
"rimraf": "^5.0.0",
"three": "^0.130.1",

@@ -94,3 +105,3 @@ "ts-jest": "^27.0.7",

"typedoc": "^0.23.25",
"typescript": "^4.3.5"
"typescript": "^4.7.0"
},

@@ -97,0 +108,0 @@ "browser": {

@@ -65,2 +65,6 @@

## Current Build
The current live build of web-ifc is avaialble [here](https://ifcjs.github.io/web-ifc/build.zip). Using this allows you to test newest fixes before we make a release. If you wish to use this version then download the zip file and place the contents of the dist folder manually into your node_modules/web-ifc folder. I.e if you are using web-ifc-three then it will be node_modules/web-ifc-three/node_modules/web-ifc. Please not you must replace the javascript and the WASM.
## Requirements

@@ -67,0 +71,0 @@

@@ -8,2 +8,3 @@ /**

import { Properties } from "./helpers/properties";
export { Properties };
import { LogLevel } from "./helpers/log";

@@ -10,0 +11,0 @@ export { LogLevel };

@@ -8,2 +8,3 @@ /**

import { Properties } from "./helpers/properties";
export { Properties };
import { LogLevel } from "./helpers/log";

@@ -10,0 +11,0 @@ export { LogLevel };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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