Comparing version 0.0.1 to 1.0.0
@@ -30,3 +30,3 @@ (function(xhr) { | ||
xhr.open = function(method, url, async) { | ||
xhr.open = function(method, url) { | ||
// If we're on http://example.com and the URL starts with | ||
@@ -33,0 +33,0 @@ // http://example.com then we're sending to a local origin. |
{ | ||
"name": "csrf-xhr", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"description": "Automatically add Rails CSRF tokens into XMLHttpRequest headers.", | ||
@@ -5,0 +5,0 @@ "main": "csrf-xhr.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
5097
4