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

@symbolic/lib

Package Overview
Dependencies
Maintainers
4
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbolic/lib - npm Package Compare versions

Comparing version 1.0.25 to 1.0.26

src/validation/validation.js

11

dist/index.js

@@ -126,6 +126,15 @@ 'use strict';

var sf = {api, colors};
var validation = {};
validation.emailIsValid = (email) => {
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(String(email).toLowerCase());
};
var sf = {api, colors, validation};
exports.api = api;
exports.colors = colors;
exports.default = sf;
exports.validation = validation;

2

package.json
{
"name": "@symbolic/lib",
"version": "1.0.25",
"version": "1.0.26",
"description": "plain js utilities",

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

import api from './api/api';
import colors from './colors/colors';
import validation from './validation/validation';
var sf = {api, colors};
var sf = {api, colors, validation};
export default sf;
export {api, colors};
export {api, colors, validation};
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