Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: a472ce9ef5
...
compare: ee5a86600a
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 5 additions and 5 deletions.
  1. +2 −2 index.js
  2. +3 −3 package.json
View
4 index.js
@@ -1,7 +1,7 @@
/*
Thanks for using tldtools, it's distributed under the MIT License (MIT)
-Copyright (c) 2011 Michael Pearson <ossdev@cloudspark.freshbutter.me>
+Copyright (c) 2011 Michael Pearson <npm@m.bip.io>
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
@@ -308,7 +308,7 @@ TLD_TOOLS = {
return (this.domain != '' && this.tld != '');
},
'getDomain' : function() {
- return this.domain + '.' + this.tld;
+ return urlTokens.hostname;
}
}
};
View
6 package.json
@@ -1,11 +1,11 @@
{
"name": "tldtools",
"description": "Extracts a domain into its component parts (node-url wrapper), performs domain inspection functions",
- "version": "0.0.6",
+ "version": "0.0.7",
"maintainers": [
{
"name": "Michael Pearson",
- "email": "ossdistro@cloudspark.freshbutter.me"
+ "email": "npm@m.bip.io"
}
],
"main": "./index",
@@ -16,6 +16,6 @@
"keywords": ["domain", "tld", "extract", "parse", "subdomain", "domain tools", "whois"],
"repository" : {
"type": "git" ,
- "url": "http://github.com/mjpearson/tldtools.git"
+ "url": "https://github.com/mjpearson/node-tldtools.git"
}
}

No commit comments for this range

Something went wrong with that request. Please try again.