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

isuri

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isuri - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

.idea/libraries/isuri_node_modules.xml

2

dist/rfc-3986.min.js

@@ -1,1 +0,1 @@

var window=function(r){function e(c){if(t[c])return t[c].exports;var i=t[c]={exports:{},id:c,loaded:!1};return r[c].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var t={};return e.m=r,e.c=t,e.p="",e(0)}([function(r,e,t){"use strict";function c(r){return r.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}var i=t(1),s={Uri:{createUriRegex:function(r){if(r=r||{},"object"!=typeof r||Array.isArray(r))throw new Error("options must be an object");var e="";if(r.scheme){if(Array.isArray(r.scheme)||(r.scheme=[r.scheme]),r.scheme.length<=0)throw new Error("scheme must have at least 1 scheme specified");for(var t=0;t<r.scheme.length;++t){var s=r.scheme[t];if(!(s instanceof RegExp||"string"==typeof s))throw new Error("scheme must only contain Regular Expressions or Strings");if(e+=e?"|":"",s instanceof RegExp)e+=s.source;else{if(!/[a-zA-Z][a-zA-Z0-9+-\.]*/.test(s))throw new Error("scheme at position "+t+" must be a valid scheme");e+=c(s)}}}var a="(?:"+(e||i.scheme)+")";return new RegExp("^(?:"+a+":"+i.hierPart+")(?:\\?"+i.query+")?(?:#"+i.fragment+")?$")},uriRegex:new RegExp(i.uri)}};s.Uri.isValid=function(r){return s.Uri.uriRegex.test(r)},r.exports={createUriRegex:s.Uri.createUriRegex,uriRegex:s.Uri.uriRegex,isValid:s.Uri.isValid}},function(r,e){"use strict";var t={rfc3986:{}};t.generate=function(){var r="|",e="0-9",c="["+e+"]",i="a-zA-Z",s="["+i+"]";t.rfc3986.cidr=c+r+"[1-2]"+c+r+"3[0-2]";var a=e+"A-Fa-f",n="["+a+"]",f=i+e+"-\\._~",o="!\\$&'\\(\\)\\*\\+,;=",u="%"+a,h=f+u+o+":@",v="["+h+"]",m="0?",d="(?:"+m+m+c+r+m+"[1-9]"+c+r+"1"+c+c+r+"2[0-4]"+c+r+"25[0-5])";t.rfc3986.IPv4address="(?:"+d+"\\.){3}"+d;var g=n+"{1,4}",p="(?:"+g+":"+g+"|"+t.rfc3986.IPv4address+")",x="(?:"+g+":){6}"+p,l="::(?:"+g+":){5}"+p,w="(?:"+g+")?::(?:"+g+":){4}"+p,P="(?:(?:"+g+":){0,1}"+g+")?::(?:"+g+":){3}"+p,R="(?:(?:"+g+":){0,2}"+g+")?::(?:"+g+":){2}"+p,y="(?:(?:"+g+":){0,3}"+g+")?::"+g+":"+p,E="(?:(?:"+g+":){0,4}"+g+")?::"+p,I="(?:(?:"+g+":){0,5}"+g+")?::"+g,U="(?:(?:"+g+":){0,6}"+g+")?::";t.rfc3986.IPv6address="(?:"+x+r+l+r+w+r+P+r+R+r+y+r+E+r+I+r+U+")",t.rfc3986.IPvFuture="v"+n+"+\\.["+f+o+":]+",t.rfc3986.scheme=s+"["+i+e+"+-\\.]*";var A="["+f+u+o+":]*";t.rfc3986.IPLiteral="\\[(?:"+t.rfc3986.IPv6address+r+t.rfc3986.IPvFuture+")\\]";var $="["+f+u+o+"]{0,255}",b="(?:"+t.rfc3986.IPLiteral+r+t.rfc3986.IPv4address+r+$+")",q=c+"*",z="(?:"+A+"@)?"+b+"(?::"+q+")?",F=v+"*",V=v+"+",Z="(?:\\/"+F+")*",j="\\/(?:"+V+Z+")?",L=V+Z;t.rfc3986.hierPart="(?:(?:\\/\\/"+z+Z+")"+r+j+r+L+")",t.rfc3986.query="["+h+"\\/\\?]*(?=#|$)",t.rfc3986.fragment="["+h+"\\/\\?]*",t.rfc3986.uri="^(?:"+t.rfc3986.scheme+":"+t.rfc3986.hierPart+")(?:\\?"+t.rfc3986.query+")?(?:#"+t.rfc3986.fragment+")?$"},t.generate(),r.exports=t.rfc3986}]);
var window=function(r){function e(i){if(t[i])return t[i].exports;var c=t[i]={exports:{},id:i,loaded:!1};return r[i].call(c.exports,c,c.exports,e),c.loaded=!0,c.exports}var t={};return e.m=r,e.c=t,e.p="",e(0)}([function(r,e,t){(function(e){r.exports=e.isUri=t(1)}).call(e,function(){return this}())},function(r,e,t){"use strict";function i(r){return r.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}var c=t(2),s={Uri:{createUriRegex:function(r){if(r=r||{},"object"!=typeof r||Array.isArray(r))throw new Error("options must be an object");var e="";if(r.scheme){if(Array.isArray(r.scheme)||(r.scheme=[r.scheme]),r.scheme.length<=0)throw new Error("scheme must have at least 1 scheme specified");for(var t=0;t<r.scheme.length;++t){var s=r.scheme[t];if(!(s instanceof RegExp||"string"==typeof s))throw new Error("scheme must only contain Regular Expressions or Strings");if(e+=e?"|":"",s instanceof RegExp)e+=s.source;else{if(!/[a-zA-Z][a-zA-Z0-9+-\.]*/.test(s))throw new Error("scheme at position "+t+" must be a valid scheme");e+=i(s)}}}var a="(?:"+(e||c.scheme)+")";return new RegExp("^(?:"+a+":"+c.hierPart+")(?:\\?"+c.query+")?(?:#"+c.fragment+")?$")},uriRegex:new RegExp(c.uri)}};s.Uri.isValid=function(r){return s.Uri.uriRegex.test(r)},r.exports={createUriRegex:s.Uri.createUriRegex,uriRegex:s.Uri.uriRegex,isValid:s.Uri.isValid}},function(r,e){"use strict";var t={rfc3986:{}};t.generate=function(){var r="|",e="0-9",i="["+e+"]",c="a-zA-Z",s="["+c+"]";t.rfc3986.cidr=i+r+"[1-2]"+i+r+"3[0-2]";var a=e+"A-Fa-f",n="["+a+"]",f=c+e+"-\\._~",o="!\\$&'\\(\\)\\*\\+,;=",u="%"+a,h=f+u+o+":@",v="["+h+"]",m="0?",d="(?:"+m+m+i+r+m+"[1-9]"+i+r+"1"+i+i+r+"2[0-4]"+i+r+"25[0-5])";t.rfc3986.IPv4address="(?:"+d+"\\.){3}"+d;var g=n+"{1,4}",p="(?:"+g+":"+g+"|"+t.rfc3986.IPv4address+")",x="(?:"+g+":){6}"+p,l="::(?:"+g+":){5}"+p,w="(?:"+g+")?::(?:"+g+":){4}"+p,P="(?:(?:"+g+":){0,1}"+g+")?::(?:"+g+":){3}"+p,R="(?:(?:"+g+":){0,2}"+g+")?::(?:"+g+":){2}"+p,y="(?:(?:"+g+":){0,3}"+g+")?::"+g+":"+p,U="(?:(?:"+g+":){0,4}"+g+")?::"+p,E="(?:(?:"+g+":){0,5}"+g+")?::"+g,I="(?:(?:"+g+":){0,6}"+g+")?::";t.rfc3986.IPv6address="(?:"+x+r+l+r+w+r+P+r+R+r+y+r+U+r+E+r+I+")",t.rfc3986.IPvFuture="v"+n+"+\\.["+f+o+":]+",t.rfc3986.scheme=s+"["+c+e+"+-\\.]*";var A="["+f+u+o+":]*";t.rfc3986.IPLiteral="\\[(?:"+t.rfc3986.IPv6address+r+t.rfc3986.IPvFuture+")\\]";var $="["+f+u+o+"]{0,255}",b="(?:"+t.rfc3986.IPLiteral+r+t.rfc3986.IPv4address+r+$+")",q=i+"*",z="(?:"+A+"@)?"+b+"(?::"+q+")?",F=v+"*",V=v+"+",Z="(?:\\/"+F+")*",j="\\/(?:"+V+Z+")?",L=V+Z;t.rfc3986.hierPart="(?:(?:\\/\\/"+z+Z+")"+r+j+r+L+")",t.rfc3986.query="["+h+"\\/\\?]*(?=#|$)",t.rfc3986.fragment="["+h+"\\/\\?]*",t.rfc3986.uri="^(?:"+t.rfc3986.scheme+":"+t.rfc3986.hierPart+")(?:\\?"+t.rfc3986.query+")?(?:#"+t.rfc3986.fragment+")?$"},t.generate(),r.exports=t.rfc3986}]);
{
"name": "isuri",
"description": "Javascript implementation for truly checking if the provided input is a valid URI, Based on RFC 3986.",
"version": "2.0.2",
"version": "2.0.3",
"author": {

@@ -33,4 +33,5 @@ "name": "David Pate",

"benchmark": "2.1.0",
"eslint": "2.5.3",
"istanbul": "0.4.2",
"eslint": "2.7.0",
"expose-loader": "^0.7.1",
"istanbul": "0.4.3",
"jscs": "2.11.0",

@@ -37,0 +38,0 @@ "jsinspect": "0.8.0",

@@ -0,1 +1,2 @@

'use strict';
var webpack = require('webpack');

@@ -12,8 +13,10 @@ module.exports = {

},
module: {
loaders: [
{ test: require.resolve('./index'), loader: 'expose?isUri' }
]
},
plugins: [
new webpack.optimize.UglifyJsPlugin(),
new webpack.ProvidePlugin({
'isUri': './index'
})
new webpack.optimize.UglifyJsPlugin()
]
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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