fix(core): update
This commit is contained in:
		@@ -19,6 +19,8 @@ mirror:
 | 
				
			|||||||
  stage: security
 | 
					  stage: security
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - npmci git mirror
 | 
					    - npmci git mirror
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					    - tags
 | 
				
			||||||
  tags:
 | 
					  tags:
 | 
				
			||||||
    - lossless
 | 
					    - lossless
 | 
				
			||||||
    - docker
 | 
					    - docker
 | 
				
			||||||
@@ -33,9 +35,7 @@ audit:
 | 
				
			|||||||
    - npmci command npm config set registry https://registry.npmjs.org
 | 
					    - npmci command npm config set registry https://registry.npmjs.org
 | 
				
			||||||
    - npmci command npm audit --audit-level=high
 | 
					    - npmci command npm audit --audit-level=high
 | 
				
			||||||
  tags:
 | 
					  tags:
 | 
				
			||||||
    - lossless
 | 
					 | 
				
			||||||
    - docker
 | 
					    - docker
 | 
				
			||||||
    - notpriv
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ====================
 | 
					# ====================
 | 
				
			||||||
# test stage
 | 
					# test stage
 | 
				
			||||||
@@ -50,9 +50,7 @@ testStable:
 | 
				
			|||||||
    - npmci npm test
 | 
					    - npmci npm test
 | 
				
			||||||
  coverage: /\d+.?\d+?\%\s*coverage/
 | 
					  coverage: /\d+.?\d+?\%\s*coverage/
 | 
				
			||||||
  tags:
 | 
					  tags:
 | 
				
			||||||
    - lossless
 | 
					 | 
				
			||||||
    - docker
 | 
					    - docker
 | 
				
			||||||
    - priv
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
testBuild:
 | 
					testBuild:
 | 
				
			||||||
  stage: test
 | 
					  stage: test
 | 
				
			||||||
@@ -63,9 +61,7 @@ testBuild:
 | 
				
			|||||||
    - npmci command npm run build
 | 
					    - npmci command npm run build
 | 
				
			||||||
  coverage: /\d+.?\d+?\%\s*coverage/
 | 
					  coverage: /\d+.?\d+?\%\s*coverage/
 | 
				
			||||||
  tags:
 | 
					  tags:
 | 
				
			||||||
    - lossless
 | 
					 | 
				
			||||||
    - docker
 | 
					    - docker
 | 
				
			||||||
    - notpriv
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
release:
 | 
					release:
 | 
				
			||||||
  stage: release
 | 
					  stage: release
 | 
				
			||||||
@@ -85,6 +81,8 @@ release:
 | 
				
			|||||||
codequality:
 | 
					codequality:
 | 
				
			||||||
  stage: metadata
 | 
					  stage: metadata
 | 
				
			||||||
  allow_failure: true
 | 
					  allow_failure: true
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					    - tags
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - npmci command npm install -g tslint typescript
 | 
					    - npmci command npm install -g tslint typescript
 | 
				
			||||||
    - npmci npm prepare
 | 
					    - npmci npm prepare
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@
 | 
				
			|||||||
            "properties": {
 | 
					            "properties": {
 | 
				
			||||||
              "projectType": {
 | 
					              "projectType": {
 | 
				
			||||||
                "type": "string",
 | 
					                "type": "string",
 | 
				
			||||||
                "enum": ["website", "element", "service", "npm"]
 | 
					                "enum": ["website", "element", "service", "npm", "wcc"]
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,44 +0,0 @@
 | 
				
			|||||||
# early
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
minimal and fast loading plugin for startup time measuring
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## Availabililty
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[](https://www.npmjs.com/package/early)
 | 
					 | 
				
			||||||
[](https://GitLab.com/pushrocks/early)
 | 
					 | 
				
			||||||
[](https://github.com/pushrocks/early)
 | 
					 | 
				
			||||||
[](https://pushrocks.gitlab.io/early/)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## Status for master
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[](https://GitLab.com/pushrocks/early/commits/master)
 | 
					 | 
				
			||||||
[](https://GitLab.com/pushrocks/early/commits/master)
 | 
					 | 
				
			||||||
[](https://www.npmjs.com/package/early)
 | 
					 | 
				
			||||||
[](https://david-dm.org/pushrocks/early)
 | 
					 | 
				
			||||||
[](https://www.bithound.io/github/pushrocks/early/master/dependencies/npm)
 | 
					 | 
				
			||||||
[](https://www.bithound.io/github/pushrocks/early)
 | 
					 | 
				
			||||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
					 | 
				
			||||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
					 | 
				
			||||||
[](http://standardjs.com/)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## Usage
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Use TypeScript for best in class instellisense.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```javascript
 | 
					 | 
				
			||||||
// Put the following at the start of your module
 | 
					 | 
				
			||||||
import * as early from 'early';
 | 
					 | 
				
			||||||
early.start('myModuleName');
 | 
					 | 
				
			||||||
/*
 | 
					 | 
				
			||||||
do your loading stuff
 | 
					 | 
				
			||||||
*/
 | 
					 | 
				
			||||||
early.stop().then((loadingTime: number) => {
 | 
					 | 
				
			||||||
  // loadingTime in milliseconds
 | 
					 | 
				
			||||||
}); // stop "early" when your module is ready
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
For further information read the linked docs at the top of this README.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[](https://push.rocks)
 | 
					 | 
				
			||||||
							
								
								
									
										632
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										632
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
								
							@@ -7,7 +7,7 @@
 | 
				
			|||||||
  "typings": "dist_ts/index.d.ts",
 | 
					  "typings": "dist_ts/index.d.ts",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "test": "(tsrun test/test.ts)",
 | 
					    "test": "(tsrun test/test.ts)",
 | 
				
			||||||
    "build": "(npmts)"
 | 
					    "build": "(tsbuild --web)"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "repository": {
 | 
					  "repository": {
 | 
				
			||||||
    "type": "git",
 | 
					    "type": "git",
 | 
				
			||||||
@@ -23,13 +23,14 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "homepage": "https://gitlab.com/pushrocks/early#readme",
 | 
					  "homepage": "https://gitlab.com/pushrocks/early#readme",
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@gitzone/tsrun": "^1.2.8",
 | 
					    "@gitzone/tsrun": "^1.2.12",
 | 
				
			||||||
    "@pushrocks/smartdelay": "^2.0.6",
 | 
					    "@pushrocks/smartdelay": "^2.0.10",
 | 
				
			||||||
    "@pushrocks/tapbundle": "^3.2.1",
 | 
					    "@pushrocks/tapbundle": "^3.2.9",
 | 
				
			||||||
    "tslint": "^6.1.2",
 | 
					    "tslint": "^6.1.3",
 | 
				
			||||||
    "tslint-config-prettier": "^1.18.0"
 | 
					    "tslint-config-prettier": "^1.18.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "@gitzone/tsbuild": "^2.1.24",
 | 
				
			||||||
    "@pushrocks/consolecolor": "^2.0.1",
 | 
					    "@pushrocks/consolecolor": "^2.0.1",
 | 
				
			||||||
    "@pushrocks/smartpromise": "^3.0.6"
 | 
					    "@pushrocks/smartpromise": "^3.0.6"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
@@ -44,5 +45,8 @@
 | 
				
			|||||||
    "cli.js",
 | 
					    "cli.js",
 | 
				
			||||||
    "npmextra.json",
 | 
					    "npmextra.json",
 | 
				
			||||||
    "readme.md"
 | 
					    "readme.md"
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  "browserslist": [
 | 
				
			||||||
 | 
					    "last 1 chrome versions"
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
							
								
								
									
										34
									
								
								readme.md
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								readme.md
									
									
									
									
									
								
							@@ -8,16 +8,36 @@ minimal and fast loading plugin for startup time measuring
 | 
				
			|||||||
* [docs (typedoc)](https://pushrocks.gitlab.io/early/)
 | 
					* [docs (typedoc)](https://pushrocks.gitlab.io/early/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Status for master
 | 
					## Status for master
 | 
				
			||||||
[](https://gitlab.com/pushrocks/early/commits/master)
 | 
					
 | 
				
			||||||
[](https://gitlab.com/pushrocks/early/commits/master)
 | 
					Status Category | Status Badge
 | 
				
			||||||
[](https://www.npmjs.com/package/@pushrocks/early)
 | 
					-- | --
 | 
				
			||||||
[](https://snyk.io/test/npm/@pushrocks/early)
 | 
					GitLab Pipelines | [](https://lossless.cloud)
 | 
				
			||||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
 | 
					GitLab Pipline Test Coverage | [](https://lossless.cloud)
 | 
				
			||||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
 | 
					npm | [](https://lossless.cloud)
 | 
				
			||||||
[](https://prettier.io/)
 | 
					Snyk | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					TypeScript Support | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					node Support | [](https://nodejs.org/dist/latest-v10.x/docs/api/)
 | 
				
			||||||
 | 
					Code Style | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					PackagePhobia (total standalone install weight) | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					PackagePhobia (package size on registry) | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					BundlePhobia (total size when bundled) | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					Platform support | [](https://lossless.cloud) [](https://lossless.cloud)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Usage
 | 
					## Usage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Use TypeScript for best in class instellisense.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```javascript
 | 
				
			||||||
 | 
					// Put the following at the start of your module
 | 
				
			||||||
 | 
					import * as early from 'early';
 | 
				
			||||||
 | 
					early.start('myModuleName');
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					do your loading stuff
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					early.stop().then((loadingTime: number) => {
 | 
				
			||||||
 | 
					  // loadingTime in milliseconds
 | 
				
			||||||
 | 
					}); // stop "early" when your module is ready
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Contribution
 | 
					## Contribution
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,7 +15,7 @@ if (process.argv.indexOf('-v') === -1) {
 | 
				
			|||||||
/**
 | 
					/**
 | 
				
			||||||
 * start the loading
 | 
					 * start the loading
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
export let start = function(moduleNameArg: string = '', loaderLengthArg: string = '10') {
 | 
					export let start = function (moduleNameArg: string = '', loaderLengthArg: string = '10') {
 | 
				
			||||||
  moduleName = moduleNameArg;
 | 
					  moduleName = moduleNameArg;
 | 
				
			||||||
  startHrt = new HrtMeasurement();
 | 
					  startHrt = new HrtMeasurement();
 | 
				
			||||||
  startHrt.start();
 | 
					  startHrt.start();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user