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

fundamental-constants

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fundamental-constants - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

Distributable/cjs/DataTypes/FloatingPointDataTypes.js

26

Distributable/cjs/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MINIMAL_CHARACTERS_COUNT_OF_EMAIL_ADDRESS = exports.MAXIMAL_CHARACTERS_COUNT_OF_EMAIL_ADDRESS = exports.EMAIL_ADDRESS_VALID_PATTERN = exports.CHARACTERS_COUNT_IN_FULL_ISO8601_STRING = exports.MAXIMAL_CHARACTERS_COUNT_IN_DATE_PART_OF_ISO8601_STRING = exports.SECONDS_COUNT_IN_MINUTE = exports.MonthsNames = exports.MONTHS_COUNT_IN_YEAR = exports.MINUTES_COUNT_IN_HOUR = exports.MINIMAL_SUPPORTED_UNIX_MILLISECONDS_AMOUNT = exports.MAXIMAL_SUPPORTED_UNIX_MILLISECONDS_AMOUNT = exports.MAXIMAL_DAYS_IN_MONTH = exports.HOURS_COUNT_IN_STELLAR_DAY = exports.DaysOfWeekNames = exports.DAYS_COUNT_IN_WEEK = exports.IntegerDataTypes = exports.ServerErrorsHTTP_StatusCodes = exports.ClientErrorsHTTP_StatusCodes = exports.RedirectionResponsesHTTP_StatusCodes = exports.SuccessfulResponsesHTTP_StatusCodes = exports.InformationalResponsesHTTP_StatusCodes = exports.HTTP_StatusCodes = exports.NETWORK_PORT_MINIMAL_VALUE = exports.NETWORK_PORT_MAXIMAL_VALUE = exports.HTTPS_DEFAULT_PORT = exports.HTTP_Methods = exports.HTTP_DEFAULT_PORT = void 0;
exports.MINIMAL_CHARACTERS_COUNT_OF_EMAIL_ADDRESS = exports.MAXIMAL_CHARACTERS_COUNT_OF_EMAIL_ADDRESS = exports.EMAIL_ADDRESS_VALID_PATTERN = exports.CHARACTERS_COUNT_IN_FULL_ISO8601_STRING = exports.MAXIMAL_CHARACTERS_COUNT_IN_DATE_PART_OF_ISO8601_STRING = exports.SECONDS_COUNT_IN_MINUTE = exports.MonthsNames = exports.MONTHS_COUNT_IN_YEAR = exports.MINUTES_COUNT_IN_HOUR = exports.MINIMAL_SUPPORTED_UNIX_MILLISECONDS_AMOUNT = exports.MAXIMAL_SUPPORTED_UNIX_MILLISECONDS_AMOUNT = exports.MAXIMAL_DAYS_IN_MONTH = exports.HOURS_COUNT_IN_STELLAR_DAY = exports.DaysOfWeekNames = exports.DAYS_COUNT_IN_WEEK = exports.FloatingPointDataTypes = exports.MINIMAL_VALUE_OF_8_BYTES_INTEGER = exports.MINIMAL_VALUE_OF_4_BYTES_INTEGER = exports.MINIMAL_VALUE_OF_3_BYTES_INTEGER = exports.MINIMAL_VALUE_OF_2_BYTES_INTEGER = exports.MINIMAL_VALUE_OF_1_BYTE_INTEGER = exports.MAXIMAL_VALUE_OF_8_BYTES_INTEGER = exports.MAXIMAL_VALUE_OF_4_BYTES_INTEGER = exports.MAXIMAL_VALUE_OF_3_BYTES_INTEGER = exports.MAXIMAL_VALUE_OF_2_BYTES_INTEGER = exports.MAXIMAL_VALUE_OF_1_BYTE_INTEGER = exports.IntegerDataTypes = exports.ServerErrorsHTTP_StatusCodes = exports.ClientErrorsHTTP_StatusCodes = exports.RedirectionResponsesHTTP_StatusCodes = exports.SuccessfulResponsesHTTP_StatusCodes = exports.InformationalResponsesHTTP_StatusCodes = exports.HTTP_StatusCodes = exports.NETWORK_PORT_MINIMAL_VALUE = exports.NETWORK_PORT_MAXIMAL_VALUE = exports.HTTPS_DEFAULT_PORT = exports.HTTP_Methods = exports.HTTP_DEFAULT_PORT = void 0;
var HTTP_DEFAULT_PORT_1 = require("./ComputerNetworking/HTTP_DEFAULT_PORT");

@@ -26,4 +26,26 @@ Object.defineProperty(exports, "HTTP_DEFAULT_PORT", { enumerable: true, get: function () { return HTTP_DEFAULT_PORT_1.HTTP_DEFAULT_PORT; } });

Object.defineProperty(exports, "ServerErrorsHTTP_StatusCodes", { enumerable: true, get: function () { return ServerErrorsHTTP_StatusCodes_1.ServerErrorsHTTP_StatusCodes; } });
var IntegerDataTypes_1 = require("./DataTypes/IntegerDataTypes");
var IntegerDataTypes_1 = require("./DataTypes/Integer/IntegerDataTypes");
Object.defineProperty(exports, "IntegerDataTypes", { enumerable: true, get: function () { return IntegerDataTypes_1.IntegerDataTypes; } });
var MAXIMAL_VALUE_OF_1_BYTE_INTEGER_1 = require("./DataTypes/Integer/MAXIMAL_VALUE_OF_1_BYTE_INTEGER");
Object.defineProperty(exports, "MAXIMAL_VALUE_OF_1_BYTE_INTEGER", { enumerable: true, get: function () { return MAXIMAL_VALUE_OF_1_BYTE_INTEGER_1.MAXIMAL_VALUE_OF_1_BYTE_INTEGER; } });
var MAXIMAL_VALUE_OF_2_BYTES_INTEGER_1 = require("./DataTypes/Integer/MAXIMAL_VALUE_OF_2_BYTES_INTEGER");
Object.defineProperty(exports, "MAXIMAL_VALUE_OF_2_BYTES_INTEGER", { enumerable: true, get: function () { return MAXIMAL_VALUE_OF_2_BYTES_INTEGER_1.MAXIMAL_VALUE_OF_2_BYTES_INTEGER; } });
var MAXIMAL_VALUE_OF_3_BYTES_INTEGER_1 = require("./DataTypes/Integer/MAXIMAL_VALUE_OF_3_BYTES_INTEGER");
Object.defineProperty(exports, "MAXIMAL_VALUE_OF_3_BYTES_INTEGER", { enumerable: true, get: function () { return MAXIMAL_VALUE_OF_3_BYTES_INTEGER_1.MAXIMAL_VALUE_OF_3_BYTES_INTEGER; } });
var MAXIMAL_VALUE_OF_4_BYTES_INTEGER_1 = require("./DataTypes/Integer/MAXIMAL_VALUE_OF_4_BYTES_INTEGER");
Object.defineProperty(exports, "MAXIMAL_VALUE_OF_4_BYTES_INTEGER", { enumerable: true, get: function () { return MAXIMAL_VALUE_OF_4_BYTES_INTEGER_1.MAXIMAL_VALUE_OF_4_BYTES_INTEGER; } });
var MAXIMAL_VALUE_OF_8_BYTES_INTEGER_1 = require("./DataTypes/Integer/MAXIMAL_VALUE_OF_8_BYTES_INTEGER");
Object.defineProperty(exports, "MAXIMAL_VALUE_OF_8_BYTES_INTEGER", { enumerable: true, get: function () { return MAXIMAL_VALUE_OF_8_BYTES_INTEGER_1.MAXIMAL_VALUE_OF_8_BYTES_INTEGER; } });
var MINIMAL_VALUE_OF_1_BYTE_INTEGER_1 = require("./DataTypes/Integer/MINIMAL_VALUE_OF_1_BYTE_INTEGER");
Object.defineProperty(exports, "MINIMAL_VALUE_OF_1_BYTE_INTEGER", { enumerable: true, get: function () { return MINIMAL_VALUE_OF_1_BYTE_INTEGER_1.MINIMAL_VALUE_OF_1_BYTE_INTEGER; } });
var MINIMAL_VALUE_OF_2_BYTES_INTEGER_1 = require("./DataTypes/Integer/MINIMAL_VALUE_OF_2_BYTES_INTEGER");
Object.defineProperty(exports, "MINIMAL_VALUE_OF_2_BYTES_INTEGER", { enumerable: true, get: function () { return MINIMAL_VALUE_OF_2_BYTES_INTEGER_1.MINIMAL_VALUE_OF_2_BYTES_INTEGER; } });
var MINIMAL_VALUE_OF_3_BYTES_INTEGER_1 = require("./DataTypes/Integer/MINIMAL_VALUE_OF_3_BYTES_INTEGER");
Object.defineProperty(exports, "MINIMAL_VALUE_OF_3_BYTES_INTEGER", { enumerable: true, get: function () { return MINIMAL_VALUE_OF_3_BYTES_INTEGER_1.MINIMAL_VALUE_OF_3_BYTES_INTEGER; } });
var MINIMAL_VALUE_OF_4_BYTES_INTEGER_1 = require("./DataTypes/Integer/MINIMAL_VALUE_OF_4_BYTES_INTEGER");
Object.defineProperty(exports, "MINIMAL_VALUE_OF_4_BYTES_INTEGER", { enumerable: true, get: function () { return MINIMAL_VALUE_OF_4_BYTES_INTEGER_1.MINIMAL_VALUE_OF_4_BYTES_INTEGER; } });
var MINIMAL_VALUE_OF_8_BYTES_INTEGER_1 = require("./DataTypes/Integer/MINIMAL_VALUE_OF_8_BYTES_INTEGER");
Object.defineProperty(exports, "MINIMAL_VALUE_OF_8_BYTES_INTEGER", { enumerable: true, get: function () { return MINIMAL_VALUE_OF_8_BYTES_INTEGER_1.MINIMAL_VALUE_OF_8_BYTES_INTEGER; } });
var FloatingPointDataTypes_1 = require("./DataTypes/FloatingPointDataTypes");
Object.defineProperty(exports, "FloatingPointDataTypes", { enumerable: true, get: function () { return FloatingPointDataTypes_1.FloatingPointDataTypes; } });
var DAYS_COUNT_IN_WEEK_1 = require("./DateTime/DAYS_COUNT_IN_WEEK");

@@ -30,0 +52,0 @@ Object.defineProperty(exports, "DAYS_COUNT_IN_WEEK", { enumerable: true, get: function () { return DAYS_COUNT_IN_WEEK_1.DAYS_COUNT_IN_WEEK; } });

@@ -12,3 +12,14 @@ export { HTTP_DEFAULT_PORT } from "./ComputerNetworking/HTTP_DEFAULT_PORT";

export { ServerErrorsHTTP_StatusCodes } from "./ComputerNetworking/HTTP_StatusCodes/ServerErrorsHTTP_StatusCodes";
export { IntegerDataTypes } from "./DataTypes/IntegerDataTypes";
export { IntegerDataTypes } from "./DataTypes/Integer/IntegerDataTypes";
export { MAXIMAL_VALUE_OF_1_BYTE_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_1_BYTE_INTEGER";
export { MAXIMAL_VALUE_OF_2_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_2_BYTES_INTEGER";
export { MAXIMAL_VALUE_OF_3_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_3_BYTES_INTEGER";
export { MAXIMAL_VALUE_OF_4_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_4_BYTES_INTEGER";
export { MAXIMAL_VALUE_OF_8_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_8_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_1_BYTE_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_1_BYTE_INTEGER";
export { MINIMAL_VALUE_OF_2_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_2_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_3_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_3_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_4_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_4_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_8_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_8_BYTES_INTEGER";
export { FloatingPointDataTypes } from "./DataTypes/FloatingPointDataTypes";
export { DAYS_COUNT_IN_WEEK } from "./DateTime/DAYS_COUNT_IN_WEEK";

@@ -15,0 +26,0 @@ export { DaysOfWeekNames } from "./DateTime/DaysOfWeekNames";

@@ -12,3 +12,14 @@ export { HTTP_DEFAULT_PORT } from "./ComputerNetworking/HTTP_DEFAULT_PORT";

export { ServerErrorsHTTP_StatusCodes } from "./ComputerNetworking/HTTP_StatusCodes/ServerErrorsHTTP_StatusCodes";
export { IntegerDataTypes } from "./DataTypes/IntegerDataTypes";
export { IntegerDataTypes } from "./DataTypes/Integer/IntegerDataTypes";
export { MAXIMAL_VALUE_OF_1_BYTE_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_1_BYTE_INTEGER";
export { MAXIMAL_VALUE_OF_2_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_2_BYTES_INTEGER";
export { MAXIMAL_VALUE_OF_3_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_3_BYTES_INTEGER";
export { MAXIMAL_VALUE_OF_4_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_4_BYTES_INTEGER";
export { MAXIMAL_VALUE_OF_8_BYTES_INTEGER } from "./DataTypes/Integer/MAXIMAL_VALUE_OF_8_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_1_BYTE_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_1_BYTE_INTEGER";
export { MINIMAL_VALUE_OF_2_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_2_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_3_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_3_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_4_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_4_BYTES_INTEGER";
export { MINIMAL_VALUE_OF_8_BYTES_INTEGER } from "./DataTypes/Integer/MINIMAL_VALUE_OF_8_BYTES_INTEGER";
export { FloatingPointDataTypes } from "./DataTypes/FloatingPointDataTypes";
export { DAYS_COUNT_IN_WEEK } from "./DateTime/DAYS_COUNT_IN_WEEK";

@@ -15,0 +26,0 @@ export { DaysOfWeekNames } from "./DateTime/DaysOfWeekNames";

2

package.json
{
"name": "fundamental-constants",
"version": "0.3.0",
"version": "0.4.0",
"description": "Fundamental constants and enumerations",

@@ -5,0 +5,0 @@ "keywords": [

@@ -208,11 +208,39 @@ Fundamental constants and enumerations.

| Key | Value |
|--------------------------|------------------------|
| `OneByte\_\_8\_Bits` | "1\_BYTE\_\_8\_BITS" |
| `TwoBytes\_\_16\_Bits` | "2\_BYTES\_\_16\_BITS" |
| `ThreeBytes\_\_24\_Bits` | "3\_BYTES\_\_24\_BITS" |
| `FourBytes\_\_32\_Bits` | "4\_BYTES\_\_32\_BITS" |
| `EightBytes\_\_64\_Bits` | "8\_BYTES\_\_64\_BITS" |
##### `IntegerDataTypes` enumeration
| Key | Value |
|------------|---------------------|
| oneByte | "1\_BYTE\_INTEGER" |
| twoBytes | "2\_BYTES\_INTEGER" |
| threeBytes | "3\_BYTES\_INTEGER" |
| fourBytes | "4\_BYTES\_INTEGER" |
| eightBytes | "8\_BYTES\_INTEGER" |
##### Minimal and Maximal Values
| Constant Name | Value |
|------------------------------------|----------------------------|
| `MAXIMAL_VALUE_OF_1_BYTE_INTEGER` | 127 |
| `MINIMAL_VALUE_OF_1_BYTE_INTEGER` | -128 |
| `MAXIMAL_VALUE_OF_2_BYTES_INTEGER` | 32,767 |
| `MINIMAL_VALUE_OF_2_BYTES_INTEGER` | -32,768 |
| `MAXIMAL_VALUE_OF_3_BYTES_INTEGER` | 8,388,607 |
| `MINIMAL_VALUE_OF_3_BYTES_INTEGER` | -8,388,608 |
| `MAXIMAL_VALUE_OF_4_BYTES_INTEGER` | 2,147,483,647 |
| `MINIMAL_VALUE_OF_4_BYTES_INTEGER` | -2,147,483,648 |
| `MAXIMAL_VALUE_OF_8_BYTES_INTEGER` | 9,223,372,036,854,775,807 |
| `MINIMAL_VALUE_OF_8_BYTES_INTEGER` | -9,223,372,036,854,775,808 |
#### Floating Point Data Types
##### `FloatingPointDataTypes`
| Key | Value |
|--------------|---------------------------|
| fourBytes | "4\_BYTES\_FLOAT\_POINT" |
| eightBytes | "8\_BYTES\_FLOAT\_POINT" |
| sixteenBytes | "16\_BYTES\_FLOAT\_POINT" |
### Date and Time

@@ -219,0 +247,0 @@

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