🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@brightspace-ui/logging

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightspace-ui/logging - npm Package Compare versions

Comparing version

to
1.8.1

{
"name": "@brightspace-ui/logging",
"version": "1.8.0",
"version": "1.8.1",
"description": "JavaScript client for sending logs to the Brightspace Logging service.",

@@ -13,5 +13,4 @@ "repository": "https://github.com/BrightspaceUI/logging.git",

"lint:eslint": "eslint .",
"test": "npm run lint && npm run test:headless",
"test:headless": "web-test-runner --files \"./test/**/*.test.js\" --node-resolve",
"test:headless:watch": "web-test-runner --files \"./test/**/*.test.js\" --node-resolve --watch"
"test": "npm run lint && npm run test:unit",
"test:unit": "d2l-test-runner"
},

@@ -22,10 +21,7 @@ "author": "D2L Corporation",

"@babel/core": "^7",
"@babel/eslint-parser": "^7",
"@open-wc/testing": "^3",
"@web/test-runner": "^0.17",
"eslint": "^8",
"eslint-config-brightspace": "^0.25",
"sinon": "^17"
},
"dependencies": {}
"@brightspace-ui/testing": "^1",
"eslint": "^9",
"eslint-config-brightspace": "^2",
"sinon": "^19"
}
}

@@ -15,27 +15,25 @@ # @brightspace-ui/logging

## Developing, Testing and Contributing
## Developing and Contributing
After cloning the repo, run `npm install` to install dependencies.
### Linting
### Testing
To run the full suite of tests:
```shell
# eslint
npm run lint
npm test
```
### Testing
Alternatively, tests can be selectively run:
```shell
# lint & run headless unit tests
npm test
# eslint
npm run lint:eslint
# unit tests only
npm run test:headless
# debug or run a subset of local unit tests
npm run test:headless:watch
# unit tests
npm run test:unit
```
## Versioning & Releasing
### Versioning and Releasing

@@ -42,0 +40,0 @@ This repo is configured to use `semantic-release`. Commits prefixed with `fix:` and `feat:` will trigger patch and minor releases when merged to `main`.

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

import { aTimeout, expect } from '@open-wc/testing';
import { aTimeout, expect } from '@brightspace-ui/testing';
import { benignErrors, LogBuilder, LoggingClient, MAXIMUM_LOGS_PER_TIME_SPAN, MAXIMUM_LOGS_TIME_SPAN, ServerLogger } from '../logging.js';

@@ -3,0 +3,0 @@ import { match, restore, spy, stub, useFakeTimers } from 'sinon';

Sorry, the diff of this file is not supported yet