mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 13:42:20 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
1
web/node_modules/dns-equal/.npmignore
generated
vendored
Normal file
1
web/node_modules/dns-equal/.npmignore
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
node_modules
|
6
web/node_modules/dns-equal/.travis.yml
generated
vendored
Normal file
6
web/node_modules/dns-equal/.travis.yml
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- '5'
|
||||
- '4'
|
||||
- '0.12'
|
||||
- '0.10'
|
21
web/node_modules/dns-equal/LICENSE
generated
vendored
Normal file
21
web/node_modules/dns-equal/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Thomas Watson Steen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
30
web/node_modules/dns-equal/README.md
generated
vendored
Normal file
30
web/node_modules/dns-equal/README.md
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
# dns-equal
|
||||
|
||||
Compare DNS record strings for equality. Enforces [RFC
|
||||
1035](https://tools.ietf.org/html/rfc1035) domain comparison.
|
||||
|
||||
[](https://travis-ci.org/watson/dns-equal)
|
||||
[](https://github.com/feross/standard)
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install dns-equal --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var dnsEqual = require('dns-equal')
|
||||
|
||||
var domain1 = 'Example.COM'
|
||||
var domain2 = 'example.com'
|
||||
|
||||
if (dnsEqual(domain1, domain2)) {
|
||||
console.log('The two domains are the same')
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
13
web/node_modules/dns-equal/index.js
generated
vendored
Normal file
13
web/node_modules/dns-equal/index.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
'use strict'
|
||||
|
||||
var r = /[A-Z]/g
|
||||
|
||||
module.exports = function (a, b) {
|
||||
a = a.replace(r, replacer)
|
||||
b = b.replace(r, replacer)
|
||||
return a === b
|
||||
}
|
||||
|
||||
function replacer (m) {
|
||||
return m.toLowerCase()
|
||||
}
|
38
web/node_modules/dns-equal/package.json
generated
vendored
Normal file
38
web/node_modules/dns-equal/package.json
generated
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"name": "dns-equal",
|
||||
"version": "1.0.0",
|
||||
"description": "Compare DNS record strings for equality",
|
||||
"main": "index.js",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"standard": "^5.4.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "standard && node test.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/watson/dns-equal.git"
|
||||
},
|
||||
"keywords": [
|
||||
"dns",
|
||||
"compare",
|
||||
"comparing",
|
||||
"equal",
|
||||
"equality",
|
||||
"match",
|
||||
"downcase",
|
||||
"lowercase",
|
||||
"case-insensitive"
|
||||
],
|
||||
"author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/watson/dns-equal/issues"
|
||||
},
|
||||
"homepage": "https://github.com/watson/dns-equal#readme",
|
||||
"coordinates": [
|
||||
56.010004025953165,
|
||||
11.961870541375674
|
||||
]
|
||||
}
|
11
web/node_modules/dns-equal/test.js
generated
vendored
Normal file
11
web/node_modules/dns-equal/test.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
'use strict'
|
||||
|
||||
var assert = require('assert')
|
||||
var dnsEqual = require('./')
|
||||
|
||||
assert.strictEqual(dnsEqual('Foo', 'foo'), true)
|
||||
assert.strictEqual(dnsEqual('FooÆØÅ', 'fooÆØÅ'), true)
|
||||
|
||||
assert.strictEqual(dnsEqual('foo', 'bar'), false)
|
||||
assert.strictEqual(dnsEqual('FooÆØÅ', 'fooæøå'), false)
|
||||
assert.strictEqual(dnsEqual('café', 'cafe'), false)
|
Loading…
Add table
Add a link
Reference in a new issue