Socket
Socket
Sign inDemoInstall

@weahead/consent-manager

Package Overview
Dependencies
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@weahead/consent-manager - npm Package Compare versions

Comparing version 1.0.6 to 1.1.2

dist/components/Buttons/Button/index.d.ts

33

package.json
{
"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)
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