syncware-units
Advanced tools
Comparing version 3.0.11 to 4.0.0
@@ -1,7 +0,1 @@ | ||
export * from "./package-files/unit"; | ||
export * from "./package-files/quantity"; | ||
export * from "./package-files/unit-conversion"; | ||
export * from "./package-files/property-unit-mapping"; | ||
export * from "./dtos/unit-conversion-model.dto"; | ||
export { UnitGroupEnum } from "./enums/unit-group-enum"; | ||
export { ModuleTypeEnum } from "./enums/module-type-enum"; | ||
export * from "./convertUnits"; |
@@ -1,37 +0,2 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ModuleTypeEnum = exports.UnitGroupEnum = void 0; | ||
__exportStar(require("./package-files/unit"), exports); | ||
__exportStar(require("./package-files/quantity"), exports); | ||
__exportStar(require("./package-files/unit-conversion"), exports); | ||
__exportStar(require("./package-files/property-unit-mapping"), exports); | ||
__exportStar(require("./dtos/unit-conversion-model.dto"), exports); | ||
var unit_group_enum_1 = require("./enums/unit-group-enum"); | ||
Object.defineProperty(exports, "UnitGroupEnum", { enumerable: true, get: function () { return unit_group_enum_1.UnitGroupEnum; } }); | ||
var module_type_enum_1 = require("./enums/module-type-enum"); | ||
Object.defineProperty(exports, "ModuleTypeEnum", { enumerable: true, get: function () { return module_type_enum_1.ModuleTypeEnum; } }); | ||
const db = __importStar(require("./package-files/database-connection")); | ||
db.Connect_To_Database(); | ||
export * from "./convertUnits"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "syncware-units", | ||
"version": "3.0.11", | ||
"version": "4.0.0", | ||
"description": "Syncware Units Software", | ||
@@ -11,12 +11,8 @@ "main": "./build/index.js", | ||
"scripts": { | ||
"build": "tsc && npm run copyFolder", | ||
"dev": "nodemon src/main.ts", | ||
"dev:build": "tsc && npm run copyFolder -w", | ||
"build": "tsc", | ||
"dev": "nodemon src/index.ts", | ||
"dev:debug": "nodemon src/index.ts --inspect", | ||
"dev:run": "nodemon build/index.js", | ||
"dev-cmd": "env-cmd -f .env concurrently npm:dev:*", | ||
"start": "node build/index.js", | ||
"test": "jest --watchAll --no-cache", | ||
"copyFolder": "copyfiles -u 1 src/db/*.db build", | ||
"copyFolder2": "copyfiles -u 1 src/database-script/*.script.syncware build" | ||
"test": "jest --watchAll --no-cache" | ||
}, | ||
@@ -32,30 +28,8 @@ "jest": { | ||
"license": "ISC", | ||
"dependencies": { | ||
"@types/body-parser": "^1.19.0", | ||
"bindings": "~1.2.1", | ||
"body-parser": "^1.19.0", | ||
"copyfiles": "^2.4.1", | ||
"express": "^4.17.1", | ||
"express-async-errors": "^3.1.1", | ||
"express-validator": "^6.8.0", | ||
"sqlite3": "^5.0.2", | ||
"typeorm": "^0.2.40", | ||
"xlsx": "^0.17.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@types/cors": "^2.8.9", | ||
"@types/express": "^4.17.9", | ||
"@types/jest": "^26.0.19", | ||
"@types/lodash": "^4.14.167", | ||
"@types/supertest": "^2.0.10", | ||
"@types/uuid": "^8.3.0", | ||
"concurrently": "^5.3.0", | ||
"env-cmd": "^10.1.0", | ||
"jest": "^26.6.3", | ||
"nodemon": "^2.0.6", | ||
"prettier": "2.7.1", | ||
"supertest": "^6.1.3", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.2.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1185257
0
3
28236
1
1
15
- Removed@types/body-parser@^1.19.0
- Removedbindings@~1.2.1
- Removedbody-parser@^1.19.0
- Removedcopyfiles@^2.4.1
- Removedexpress@^4.17.1
- Removedexpress-async-errors@^3.1.1
- Removedexpress-validator@^6.8.0
- Removedsqlite3@^5.0.2
- Removedtypeorm@^0.2.40
- Removedxlsx@^0.17.0
- Removed@gar/promisify@1.1.3(transitive)
- Removed@npmcli/fs@1.1.1(transitive)
- Removed@npmcli/move-file@1.1.2(transitive)
- Removed@sqltools/formatter@1.2.5(transitive)
- Removed@tootallnate/once@1.1.2(transitive)
- Removed@types/body-parser@1.19.5(transitive)
- Removed@types/connect@3.4.38(transitive)
- Removed@types/node@22.9.3(transitive)
- Removedabbrev@1.1.1(transitive)
- Removedaccepts@1.3.8(transitive)
- Removedadler-32@1.2.01.3.1(transitive)
- Removedagent-base@6.0.2(transitive)
- Removedagentkeepalive@4.5.0(transitive)
- Removedaggregate-error@3.1.0(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedany-promise@1.3.0(transitive)
- Removedapp-root-path@3.1.0(transitive)
- Removedaproba@2.0.0(transitive)
- Removedare-we-there-yet@3.0.1(transitive)
- Removedargparse@2.0.1(transitive)
- Removedarray-flatten@1.1.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbindings@1.2.11.5.0(transitive)
- Removedbl@4.1.0(transitive)
- Removedbody-parser@1.20.3(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbuffer@5.7.16.0.3(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcacache@15.3.0(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcfb@1.2.2(transitive)
- Removedchalk@4.1.2(transitive)
- Removedchownr@1.1.42.0.0(transitive)
- Removedclean-stack@2.2.0(transitive)
- Removedcli-highlight@2.1.11(transitive)
- Removedcliui@7.0.48.0.1(transitive)
- Removedcodepage@1.15.0(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconsole-control-strings@1.1.0(transitive)
- Removedcontent-disposition@0.5.4(transitive)
- Removedcontent-type@1.0.5(transitive)
- Removedcookie@0.7.1(transitive)
- Removedcookie-signature@1.0.6(transitive)
- Removedcopyfiles@2.4.1(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcrc-32@1.2.2(transitive)
- Removeddebug@2.6.94.3.7(transitive)
- Removeddecompress-response@6.0.0(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddelegates@1.0.0(transitive)
- Removeddepd@2.0.0(transitive)
- Removeddestroy@1.2.0(transitive)
- Removeddetect-libc@2.0.3(transitive)
- Removeddotenv@8.6.0(transitive)
- Removedee-first@1.1.1(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedencodeurl@1.0.22.0.0(transitive)
- Removedencoding@0.1.13(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedenv-paths@2.2.1(transitive)
- Removederr-code@2.0.3(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedescalade@3.2.0(transitive)
- Removedescape-html@1.0.3(transitive)
- Removedetag@1.8.1(transitive)
- Removedexit-on-epipe@1.0.1(transitive)
- Removedexpand-template@2.0.3(transitive)
- Removedexpress@4.21.1(transitive)
- Removedexpress-async-errors@3.1.1(transitive)
- Removedexpress-validator@6.15.0(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedfinalhandler@1.3.1(transitive)
- Removedforwarded@0.2.0(transitive)
- Removedfrac@1.1.2(transitive)
- Removedfresh@0.5.2(transitive)
- Removedfs-constants@1.0.0(transitive)
- Removedfs-minipass@2.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedgauge@4.0.4(transitive)
- Removedget-caller-file@2.0.5(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgithub-from-package@0.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedgopd@1.0.1(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhighlight.js@10.7.3(transitive)
- Removedhttp-cache-semantics@4.1.1(transitive)
- Removedhttp-errors@2.0.0(transitive)
- Removedhttp-proxy-agent@4.0.1(transitive)
- Removedhttps-proxy-agent@5.0.1(transitive)
- Removedhumanize-ms@1.2.1(transitive)
- Removediconv-lite@0.4.240.6.3(transitive)
- Removedieee754@1.2.1(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedindent-string@4.0.0(transitive)
- Removedinfer-owner@1.0.4(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedini@1.3.8(transitive)
- Removedip-address@9.0.5(transitive)
- Removedipaddr.js@1.9.1(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedis-lambda@1.0.1(transitive)
- Removedisarray@0.0.11.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjsbn@1.1.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlru-cache@6.0.0(transitive)
- Removedmake-fetch-happen@9.1.0(transitive)
- Removedmedia-typer@0.3.0(transitive)
- Removedmerge-descriptors@1.0.3(transitive)
- Removedmethods@1.1.2(transitive)
- Removedmime@1.6.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedmimic-response@3.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedminipass@3.3.65.0.0(transitive)
- Removedminipass-collect@1.0.2(transitive)
- Removedminipass-fetch@1.4.1(transitive)
- Removedminipass-flush@1.0.5(transitive)
- Removedminipass-pipeline@1.2.4(transitive)
- Removedminipass-sized@1.0.3(transitive)
- Removedminizlib@2.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removedmkdirp-classic@0.5.3(transitive)
- Removedms@2.0.02.1.3(transitive)
- Removedmz@2.7.0(transitive)
- Removednapi-build-utils@1.0.2(transitive)
- Removednegotiator@0.6.3(transitive)
- Removednode-abi@3.71.0(transitive)
- Removednode-addon-api@7.1.1(transitive)
- Removednode-gyp@8.4.1(transitive)
- Removednoms@0.0.0(transitive)
- Removednopt@5.0.0(transitive)
- Removednpmlog@6.0.2(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedon-finished@2.4.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-map@4.0.0(transitive)
- Removedparse5@5.1.16.0.1(transitive)
- Removedparse5-htmlparser2-tree-adapter@6.0.1(transitive)
- Removedparseurl@1.3.3(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-to-regexp@0.1.10(transitive)
- Removedprebuild-install@7.1.2(transitive)
- Removedprintj@1.1.2(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedpromise-inflight@1.0.1(transitive)
- Removedpromise-retry@2.0.1(transitive)
- Removedproxy-addr@2.0.7(transitive)
- Removedpump@3.0.2(transitive)
- Removedqs@6.13.0(transitive)
- Removedrange-parser@1.2.1(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedrc@1.2.8(transitive)
- Removedreadable-stream@1.0.342.3.83.6.2(transitive)
- Removedreflect-metadata@0.1.14(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedretry@0.12.0(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsax@1.4.1(transitive)
- Removedsemver@7.6.3(transitive)
- Removedsend@0.19.0(transitive)
- Removedserve-static@1.16.2(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetprototypeof@1.2.0(transitive)
- Removedsha.js@2.4.11(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedsimple-concat@1.0.1(transitive)
- Removedsimple-get@4.0.1(transitive)
- Removedsmart-buffer@4.2.0(transitive)
- Removedsocks@2.8.3(transitive)
- Removedsocks-proxy-agent@6.2.1(transitive)
- Removedsprintf-js@1.1.3(transitive)
- Removedsqlite3@5.1.7(transitive)
- Removedssf@0.11.2(transitive)
- Removedssri@8.0.1(transitive)
- Removedstatuses@2.0.1(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedstring_decoder@0.10.311.1.11.3.0(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedtar@6.2.1(transitive)
- Removedtar-fs@2.1.1(transitive)
- Removedtar-stream@2.2.0(transitive)
- Removedthenify@3.3.1(transitive)
- Removedthenify-all@1.6.0(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedtslib@2.8.1(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtype-is@1.6.18(transitive)
- Removedtypeorm@0.2.45(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedunique-filename@1.1.1(transitive)
- Removedunique-slug@2.0.2(transitive)
- Removedunpipe@1.0.0(transitive)
- Removeduntildify@4.0.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedutils-merge@1.0.1(transitive)
- Removeduuid@8.3.2(transitive)
- Removedvalidator@13.12.0(transitive)
- Removedvary@1.1.2(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwide-align@1.1.5(transitive)
- Removedwmf@1.0.2(transitive)
- Removedword@0.3.0(transitive)
- Removedwrap-ansi@7.0.0(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedxlsx@0.17.5(transitive)
- Removedxml2js@0.4.23(transitive)
- Removedxmlbuilder@11.0.1(transitive)
- Removedxtend@4.0.2(transitive)
- Removedy18n@5.0.8(transitive)
- Removedyallist@4.0.0(transitive)
- Removedyargs@16.2.017.7.2(transitive)
- Removedyargs-parser@20.2.921.1.1(transitive)
- Removedzen-observable@0.8.15(transitive)
- Removedzen-observable-ts@1.2.5(transitive)