Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

agegate

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agegate - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

14

dist/index.js
(function (global, factory) {
if (typeof define === 'function' && define.amd) {
define(['exports', 'module', './data'], factory);
define(['exports', 'module', './data', './cookies'], factory);
} else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {
factory(exports, module, require('./data'));
factory(exports, module, require('./data'), require('./cookies'));
} else {

@@ -10,6 +10,6 @@ var mod = {

};
factory(mod.exports, mod, global.data);
factory(mod.exports, mod, global.data, global.cookies);
global.index = mod.exports;
}
})(this, function (exports, module, _data) {
})(this, function (exports, module, _data, _cookies) {
'use strict';

@@ -19,4 +19,8 @@

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
var _cookies2 = _interopRequireDefault(_cookies);
var FORM_ELEMENTS = ['year', 'month', 'day', 'country', 'remember'];

@@ -174,3 +178,3 @@

cookies.setItem('old_enough', true, expiry, path, domain);
_cookies2['default'].setItem('old_enough', true, expiry, path, domain);
}

@@ -177,0 +181,0 @@

{
"name": "agegate",
"version": "2.0.2",
"version": "2.0.3",
"description": "Limit access to your app with an age gate",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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