@behance/beff
Advanced tools
Comparing version 9.3.0 to 9.3.1
{ | ||
"name": "@behance/beff", | ||
"version": "9.3.0", | ||
"version": "9.3.1", | ||
"description": "Behance Frontend Framework", | ||
@@ -5,0 +5,0 @@ "directories": { |
@@ -10,3 +10,3 @@ BeFF ![Build Status](https://travis-ci.org/behance/BeFF.svg?branch=master) | ||
* To create a new release, use `npm version major`, `npm version minor`, or `npm version patch` to update package.json and create a release commit and git version tag. | ||
* Finally, use `git push upstream master --tags` (assuming your `upstream` is pointed at behance/poet) to push the version commit and tags to the Poet repo. | ||
* Finally, use `git push upstream master --tags` (assuming your `upstream` is pointed at behance/BeFF) to push the version commit and tags to the BeFF repo. | ||
* Run `npm publish` |
@@ -65,6 +65,11 @@ define(['util/validate'], function(validate) { | ||
UrlWithProtocol: { | ||
good: ['http://foo.com', 'https://foo.com/bar', 'http://foo.com/?bar#what', 'http://1.2.3.4', 'http://some.very.long.domain', 'http://a.co', 'http://punycode.XN--TCKWE'], | ||
bad: ['http://-foo.com', 'http://foo.-cm', 'htts://foo.com', 'http://foo', 'ww.foo.com', 'www.foo.com', 'https://foo.hack"attr'] | ||
good: ['http://foo.com', 'https://foo.com/bar', 'http://foo.com/?bar#what', 'http://1.2.3.4', 'http://some.very.long.domain', 'http://a.co', 'http://punycode.XN--TCKWE', 'http://全国温泉ガイド.jp', 'http://उदाहरण.परीक्षा', 'https://инобрнауки.рф'], | ||
bad: ['foo-bar', 'http://hello', 'http://-foo.com', 'http://foo.-cm', 'htts://foo.com', 'ww.foo.com', 'www.foo.com', '12.34.56.78', 'https://foo.hack"attr', 'canada.XN--TFTFTF', 'инобрнауки', 'ガイド.jp'] | ||
}, | ||
UrlExt: { | ||
good: ['www.foo.com', 'abcde.us', 'https://foo.com/bar', 'http://foo.com/?bar#what', 'http://1.2.3.4', 'http://a.co', 'http://punycode.XN--TCKWE', 'canada.XN--TFTFTF', 'http://xn--p1b6ci4b4b3a.xn--11b5bs3a9aj6g', 'http://全国温泉ガイド.jp', 'http://उदाहरण.परीक्षा', 'инобрнауки.рф'], | ||
bad: ['foo-bar', 'http://hello', 'htts://foo.com', 'http://abc.', 'инобрнауки'] | ||
}, | ||
City: { | ||
@@ -71,0 +76,0 @@ good: ['Boston', 'Aloi/Alcoy', 'Cote D\'Ivoire'], |
@@ -129,7 +129,7 @@ define(function() { | ||
UrlWithProtocol: { | ||
test: test.bind(/^https?:\/\/(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?\.)+(?:(?:[Xx][Nn]--)?[a-zA-Z0-9]{2,63}|\d{1,3})[^<>"]*$/), | ||
test: test.bind(/^https?:\/\/(?:[\u00a1-\uffffa-zA-Z0-9](?:[a-zA-Z0-9\u00a1-\uffff\-]*[a-zA-Z0-9\u00a1-\uffff])?\.)+(?:(?:[Xx][Nn]--)?[a-zA-Z0-9u00a1-\uffff]{2,63}|\d{1,3})[^<>"]*$/), | ||
message: 'This field must be a URL starting with http:// or https://' | ||
}, | ||
UrlExt: { | ||
test: test.bind(/^((?:https?):\/\/)?(?:(?:(?:[\w\.\-\+!$&\'\(\)*\+,;=_]|%[0-9a-f]{2})+:)*(?:[\w\.\-\+%!$&\'\(\)*\+,;=]|%[0-9a-f]{2})+@)?(?:[A-Za-z0-9_\-]+\.)(?:[A-Za-z0-9\-\._])+(?::\d+)?(?:[\/|\?](?:[\w#!:\.\?\+=&@$\'~*,;_\/\(\)\[\]\-]|%[0-9a-f]{2})*)?$/), | ||
test: test.bind(/^((?:https?):\/\/)?(?:(?:(?:[\w\.\-\+!$&\'\(\)*\+,;=_]|%[0-9a-f]{2})+:)*(?:[\w\.\-\+%!$&\'\(\)*\+,;=]|%[0-9a-f]{2})+@)?(?:[A-Za-z0-9\u00a1-\uffff_\-]+\.)(?:[A-Za-z0-9\u00a1-\uffff\-\._])+(?::\d+)?(?:[\/|\?](?:[\w#!:\.\?\+=&@$\'~*,;_\/\(\)\[\]\-]|%[0-9a-f]{2})*)?$/), | ||
message: 'This field must be a valid URL' | ||
@@ -136,0 +136,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1565976
14097
0