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

@bentley/imodeljs-quantity

Package Overview
Dependencies
Maintainers
4
Versions
524
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bentley/imodeljs-quantity - npm Package Compare versions

Comparing version 0.171.0 to 0.187.0

lib/imodeljs-quantity.d.ts

108

CHANGELOG.json

@@ -5,2 +5,110 @@ {

{
"version": "0.187.0",
"tag": "@bentley/imodeljs-quantity_v0.187.0",
"date": "Tue, 15 Jan 2019 15:18:59 GMT",
"comments": {}
},
{
"version": "0.186.0",
"tag": "@bentley/imodeljs-quantity_v0.186.0",
"date": "Mon, 14 Jan 2019 23:09:10 GMT",
"comments": {}
},
{
"version": "0.185.0",
"tag": "@bentley/imodeljs-quantity_v0.185.0",
"date": "Fri, 11 Jan 2019 18:29:00 GMT",
"comments": {}
},
{
"version": "0.184.0",
"tag": "@bentley/imodeljs-quantity_v0.184.0",
"date": "Thu, 10 Jan 2019 22:46:17 GMT",
"comments": {}
},
{
"version": "0.183.0",
"tag": "@bentley/imodeljs-quantity_v0.183.0",
"date": "Mon, 07 Jan 2019 21:49:21 GMT",
"comments": {}
},
{
"version": "0.182.0",
"tag": "@bentley/imodeljs-quantity_v0.182.0",
"date": "Mon, 07 Jan 2019 13:31:34 GMT",
"comments": {}
},
{
"version": "0.181.0",
"tag": "@bentley/imodeljs-quantity_v0.181.0",
"date": "Fri, 04 Jan 2019 13:02:40 GMT",
"comments": {}
},
{
"version": "0.180.0",
"tag": "@bentley/imodeljs-quantity_v0.180.0",
"date": "Wed, 02 Jan 2019 15:18:23 GMT",
"comments": {}
},
{
"version": "0.179.0",
"tag": "@bentley/imodeljs-quantity_v0.179.0",
"date": "Wed, 19 Dec 2018 18:26:14 GMT",
"comments": {}
},
{
"version": "0.178.0",
"tag": "@bentley/imodeljs-quantity_v0.178.0",
"date": "Thu, 13 Dec 2018 22:06:10 GMT",
"comments": {}
},
{
"version": "0.177.0",
"tag": "@bentley/imodeljs-quantity_v0.177.0",
"date": "Wed, 12 Dec 2018 17:21:31 GMT",
"comments": {}
},
{
"version": "0.176.0",
"tag": "@bentley/imodeljs-quantity_v0.176.0",
"date": "Mon, 10 Dec 2018 21:19:45 GMT",
"comments": {}
},
{
"version": "0.175.0",
"tag": "@bentley/imodeljs-quantity_v0.175.0",
"date": "Mon, 10 Dec 2018 17:08:55 GMT",
"comments": {}
},
{
"version": "0.174.0",
"tag": "@bentley/imodeljs-quantity_v0.174.0",
"date": "Mon, 10 Dec 2018 13:24:09 GMT",
"comments": {}
},
{
"version": "0.173.0",
"tag": "@bentley/imodeljs-quantity_v0.173.0",
"date": "Thu, 06 Dec 2018 22:03:29 GMT",
"comments": {
"none": [
{
"comment": "Custom imodelJs noDirectImport lint rule implemented, noDuplicateImport lint rule turned on."
}
]
}
},
{
"version": "0.172.0",
"tag": "@bentley/imodeljs-quantity_v0.172.0",
"date": "Tue, 04 Dec 2018 17:24:39 GMT",
"comments": {
"none": [
{
"comment": "Changed index file name to match package name. Change imports to use other packages' index file."
}
]
}
},
{
"version": "0.171.0",

@@ -7,0 +115,0 @@ "tag": "@bentley/imodeljs-quantity_v0.171.0",

86

CHANGELOG.md
# Change Log - @bentley/imodeljs-quantity
This log was last generated on Mon, 03 Dec 2018 18:52:58 GMT and should not be manually modified.
This log was last generated on Tue, 15 Jan 2019 15:18:59 GMT and should not be manually modified.
## 0.187.0
Tue, 15 Jan 2019 15:18:59 GMT
*Version update only*
## 0.186.0
Mon, 14 Jan 2019 23:09:10 GMT
*Version update only*
## 0.185.0
Fri, 11 Jan 2019 18:29:00 GMT
*Version update only*
## 0.184.0
Thu, 10 Jan 2019 22:46:17 GMT
*Version update only*
## 0.183.0
Mon, 07 Jan 2019 21:49:21 GMT
*Version update only*
## 0.182.0
Mon, 07 Jan 2019 13:31:34 GMT
*Version update only*
## 0.181.0
Fri, 04 Jan 2019 13:02:40 GMT
*Version update only*
## 0.180.0
Wed, 02 Jan 2019 15:18:23 GMT
*Version update only*
## 0.179.0
Wed, 19 Dec 2018 18:26:14 GMT
*Version update only*
## 0.178.0
Thu, 13 Dec 2018 22:06:10 GMT
*Version update only*
## 0.177.0
Wed, 12 Dec 2018 17:21:31 GMT
*Version update only*
## 0.176.0
Mon, 10 Dec 2018 21:19:45 GMT
*Version update only*
## 0.175.0
Mon, 10 Dec 2018 17:08:55 GMT
*Version update only*
## 0.174.0
Mon, 10 Dec 2018 13:24:09 GMT
*Version update only*
## 0.173.0
Thu, 06 Dec 2018 22:03:29 GMT
### Updates
- Custom imodelJs noDirectImport lint rule implemented, noDuplicateImport lint rule turned on.
## 0.172.0
Tue, 04 Dec 2018 17:24:39 GMT
### Updates
- Changed index file name to match package name. Change imports to use other packages' index file.
## 0.171.0

@@ -6,0 +90,0 @@ Mon, 03 Dec 2018 18:52:58 GMT

2

lib/Constants.js
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.

@@ -5,0 +5,0 @@ *--------------------------------------------------------------------------------------------*/

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

import { BentleyError } from "@bentley/bentleyjs-core/lib/BentleyError";
import { BentleyError } from "@bentley/bentleyjs-core";
/**

@@ -3,0 +3,0 @@ * Status codes used during Quantity parsing and formatting processing.

"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const BentleyError_1 = require("@bentley/bentleyjs-core/lib/BentleyError");
const bentleyjs_core_1 = require("@bentley/bentleyjs-core");
/**

@@ -19,3 +19,3 @@ * Status codes used during Quantity parsing and formatting processing.

/** The error type thrown by this module. See [[QuantityStatus]] for `errorNumber` values. */
class QuantityError extends BentleyError_1.BentleyError {
class QuantityError extends bentleyjs_core_1.BentleyError {
constructor(errorNumber, message) {

@@ -22,0 +22,0 @@ super(errorNumber, message);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.

@@ -6,0 +6,0 @@ *--------------------------------------------------------------------------------------------*/

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.

@@ -6,0 +6,0 @@ *--------------------------------------------------------------------------------------------*/

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.

@@ -6,0 +6,0 @@ *--------------------------------------------------------------------------------------------*/

"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.

@@ -5,0 +5,0 @@ *--------------------------------------------------------------------------------------------*/

# MIT License
Copyright © 2018 Bentley Systems, Incorporated. All rights reserved.
Copyright © 2019 Bentley Systems, Incorporated. All rights reserved.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

{
"name": "@bentley/imodeljs-quantity",
"version": "0.171.0",
"version": "0.187.0",
"description": "Quantity formatting and parsing concepts in typescript",
"license": "MIT",
"main": "lib/index.js",
"typings": "lib/index",
"main": "lib/imodeljs-quantity.js",
"typings": "lib/imodeljs-quantity",
"repository": {},
"scripts": {
"build": "tsc 1>&2",
"build": "tsc 1>&2 && npm run webpackModule-dev",
"clean": "rimraf lib package-deps.json .nyc_output",
"lint": "tslint --project . 1>&2",
"test": "node ./node_modules/@bentley/build-tools/scripts/test-tsnode.js --testDir=./test/",
"docs": "node ./node_modules/@bentley/build-tools/scripts/docs.js --source=./src --includes=../../generated-docs/extract --json=../../generated-docs/core/imodeljs-quantity/file.json --tsIndexFile=./index.ts --onlyJson %TYPEDOC_THEME%",
"docs": "node ./node_modules/@bentley/build-tools/scripts/docs.js --source=./src --includes=../../generated-docs/extract --json=../../generated-docs/core/imodeljs-quantity/file.json --tsIndexFile=./imodeljs-quantity.ts --onlyJson %TYPEDOC_THEME%",
"cover": "nyc npm test",
"start": "npm run lint && npm run clean && npm run build && npm run test & npm run cover & npm run docs"
"start": "npm run lint && npm run clean && npm run build && npm run test & npm run cover & npm run docs",
"webpackModule-dev": "make-dir ./lib/module/dev/ && webpack --config ./node_modules/@bentley/webpack-tools/modules/webpackModule.config.js --env.entry=./lib/imodeljs-quantity.js --env.bundlename=imodeljs-quantity --json >./lib/module/dev/webpackStats.json",
"webpackModule-prod": "webpack --config ./node_modules/@bentley/webpack-tools/modules/webpackModule.config.js --env.entry=./lib/imodeljs-quantity.js --env.bundlename=imodeljs-quantity --env.prod"
},

@@ -28,4 +30,5 @@ "keywords": [

"devDependencies": {
"@bentley/bentleyjs-core": "0.171.0",
"@bentley/build-tools": "0.171.0",
"@bentley/bentleyjs-core": "0.187.0",
"@bentley/build-tools": "0.187.0",
"@bentley/webpack-tools": "0.187.0",
"@types/chai": "^4.1.4",

@@ -35,5 +38,7 @@ "@types/chai-as-promised": "^7",

"@types/mocha": "^5.2.5",
"@types/node": "10.10.3",
"@types/sinon": "^5.0.5",
"chai": "^4.1.2",
"chai-as-promised": "^7",
"make-dir-cli": "^1.0.0",
"mocha": "^5.2.0",

@@ -43,9 +48,13 @@ "nyc": "^13.0.1",

"sinon": "^7.1.1",
"source-map-loader": "^0.2.3",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typedoc": "^0.11.1",
"typescript": "~3.1.0"
"typescript": "~3.1.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.0"
},
"dependencies": {},
"peerDependencies": {
"@bentley/bentleyjs-core": "0.171.0"
"@bentley/bentleyjs-core": "0.187.0"
},

@@ -52,0 +61,0 @@ "nyc": {

# @bentley/imodeljs-quantity
Copyright © 2018 Bentley Systems, Incorporated. All rights reserved.
Copyright © 2019 Bentley Systems, Incorporated. All rights reserved.

@@ -5,0 +5,0 @@ ## Description

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