New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-if-bot

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-if-bot - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/vue-if-bot.cjs.js

5

CHANGELOG.md

@@ -5,3 +5,8 @@ # Change Log

<a name="1.0.1"></a>
## [1.0.1](https://github.com/Developmint/vue-if-bot/compare/v1.0.0...v1.0.1) (2018-05-22)
<a name="1.0.0"></a>
# 1.0.0 (2018-05-22)

16

package.json
{
"name": "vue-if-bot",
"version": "1.0.0",
"version": "1.0.1",
"description": "Hide stuff from bots (especially cookie consents)",
"author": "Alexander Lichter <npm@lichter.io>",
"license": "MIT",
"main": "lib/index.js",
"repository": {

@@ -15,5 +14,11 @@ "type": "git",

},
"main": "dist/vue-if-bot.cjs.js",
"module": "dist/vue-if-bot.es.js",
"cdn": "dist/vue-if-bot.min.js",
"unpkg": "dist/vue-if-bot.min.js",
"jsdelivr": "dist/vue-if-bot.min.js",
"scripts": {
"lint": "eslint lib test",
"test": "npm run lint && jest",
"build": "bili --format cjs,es,umd,umd-min --moduleName ifBot --no-babel.babelrc",
"release": "standard-version && git push --follow-tags && npm publish",

@@ -23,4 +28,6 @@ "commitlint": "commitlint -e $GIT_PARAMS",

},
"sideEffects": false,
"files": [
"lib"
"src",
"dist"
],

@@ -73,2 +80,3 @@ "keywords": [

"babel-preset-vue-app": "^2.0.0",
"bili": "^3.1.2",
"cheerio": "^1.0.0-rc.2",

@@ -90,3 +98,3 @@ "codecov": "latest",

"vue-jest": "^2.6.0",
"vue-loader": "^15.1.0",
"vue-loader": "^15.2.0",
"vue-router": "^3.0.1",

@@ -93,0 +101,0 @@ "vue-server-renderer": "^2.5.16",

@@ -69,6 +69,13 @@ # VueIfBot - Hide stuff from bots (especially cookie consents) :no_entry_sign::eyes:

### :link::x: Using a CDN
### :link: Using a CDN
Sorry! No CDN available for VueIfBot right now.
[UNPKG](https://unpkg.com/vue-if-bot/dist/) | [jsDelivr](https://cdn.jsdelivr.net/npm/vue-if-bot/dist/) (available as window.ifBot)
```js
Vue.component('if-bot', window.ifBot)
// Continue as you wish
```
## :hammer_and_wrench: Usage

@@ -94,4 +101,14 @@

<vue-if-bot>
<h1>This won't be visible for bots</h1>
</vue-if-bot>
<h1>This will not be visible for bots</h1>
</vue-if-bot>
<vue-if-bot
:invert="true">
<h1>This will be visible for bots</h1>
</vue-if-bot>
<vue-if-bot
:regex="/some-custom-browser/">
<h1>This will be visible for users whose user agent contains some-custom-browser</h1>
</vue-if-bot>
```

@@ -98,0 +115,0 @@ ## :gear: Contributing

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