@weahead/consent-manager
Advanced tools
Comparing version 1.0.6 to 1.1.2
{ | ||
"name": "@weahead/consent-manager", | ||
"version": "1.0.6", | ||
"version": "1.1.2", | ||
"author": "Weahead AB <alla@weahead.se>", | ||
"main": "index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"commit": "git-cz", | ||
"build": "tsc", | ||
"copy-css": "copyfiles -u 1 src/**/*.css ./dist/", | ||
"pack": "cp ./package.json ./dist/package.json && npm pack ./dist && npm run copy-css", | ||
"prepublish-package": "npm run build && cp ./package.json ./dist/ && cp ./README.md ./dist/", | ||
"dry-publish": "npm run prepublish-package && npm publish ./dist --access public --dry-run", | ||
"publish-package": "npm run prepublish-package && npm publish ./dist --access public", | ||
"lint": "npm run lint:commits", | ||
"lint:commits": "commitlint --from main to HEAD", | ||
"release": "semantic-release" | ||
"build": "tsc && copyfiles -u 1 src/**/*.css ./dist/", | ||
"format": "npx prettier --write src", | ||
"prepack": "npm run build", | ||
"prepare": "husky install", | ||
"test": "echo nothing to test" | ||
}, | ||
@@ -29,3 +31,3 @@ "repository": { | ||
], | ||
"license": "0BSD", | ||
"license": "SEE LICENSE IN LICENSE", | ||
"bugs": { | ||
@@ -47,5 +49,2 @@ "url": "https://gitlab.com/weahead/consent-manager/issues" | ||
"@commitlint/config-conventional": "^16.0.0", | ||
"@semantic-release/changelog": "^6.0.1", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/gitlab": "^7.0.4", | ||
"@types/react": "^17.0.38", | ||
@@ -55,5 +54,5 @@ "commitizen": "^4.2.4", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^7.0.4", | ||
"lint-staged": "^12.3.2", | ||
"semantic-release": "^19.0.2", | ||
"husky": "8.0.1", | ||
"lint-staged": "^12.5.0", | ||
"prettier": "2.7.1", | ||
"typescript": "4.7.2" | ||
@@ -60,0 +59,0 @@ }, |
# Consent Manager | ||
## Install | ||
### NPM | ||
```shell | ||
npm install @weahead/consent-manager | ||
``` | ||
### Yarn | ||
```shell | ||
yarn add @weahead/consent-manager | ||
@@ -16,13 +22,13 @@ ``` | ||
// optional, defaults to `Cookies för analys och utveckling` | ||
analyticsLabel={String} | ||
analyticsLabel={String} | ||
// optional, defaults to `Godkänn alla` | ||
approveAllLabel={String} | ||
approveAllLabel={String} | ||
// optional, defauts to `Godkänn val` | ||
approveLabel={String} | ||
approveLabel={String} | ||
// required, string containing the information text for when the modal opens | ||
content={String} | ||
content={String} | ||
// optional, defaults to `Cookies för externt innehåll/teknik (t.ex. sociala medier, ljud, video)` | ||
externalLabel={String} | ||
externalLabel={String} | ||
// optional, defaults to `Nödvändiga cookies, tekniker och funktioner` | ||
functionLabel={String} | ||
functionLabel={String} | ||
// optional, defaults to `Fler inställningar` | ||
@@ -33,5 +39,5 @@ moreSettingsLabel={String} | ||
// optional, defaults to `Vi använder cookies` | ||
title={String} | ||
title={String} | ||
// defaults to `Återkalla medgivande` | ||
revokeLabel={String} | ||
revokeLabel={String} | ||
/> | ||
@@ -70,1 +76,6 @@ ) | ||
} | ||
``` | ||
## License | ||
[X11](LICENSE) |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
49319
10
65
1066
78
1
1
80
2