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

daplie-tools

Package Overview
Dependencies
Maintainers
7
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daplie-tools - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.jshintrc

20

bin/daplie.js

@@ -27,8 +27,18 @@ #!/usr/bin/env node

var jsonme;
var providerUri;
var providerIndex;
var args = process.argv;
var argstr = args.join('_~`~');
var argsep = '___';
var argstr = args.join(argsep);
if (/--json/.test(argstr)) {
args = argstr.replace(/--json(_~`~)?/, '').split('_~`~');
args = argstr.replace(/--json(___)?/, '').split(argsep);
jsonme = true;
}
providerIndex = args.indexOf('--provider');
if (-1 !== providerIndex) {
providerUri = args.splice(providerIndex, 2)[1];
if ('-' === providerUri[0]) {
throw new Error("Usage: --provider example.com");
}
}
var cmd = args.splice(2, 1)[0] || '';

@@ -41,3 +51,3 @@ var myCmds = cmd.split(/:/);

var pkg = require('../package.json');
var cliOptions = { provider: 'oauth3.org' };
var cliOptions = { provider: providerUri || 'oauth3.org' /*'daplie.me'*/ };
var cmds;

@@ -928,2 +938,6 @@

oauth3.Files.upload(opts).then(function (results) {
if ('true' === String(results.completed)) {
console.log('Already uploaded');
console.log('TODO handle challenge');
}
console.log('');

@@ -930,0 +944,0 @@ console.log(results);

2

package.json
{
"name": "daplie-tools",
"version": "1.0.0",
"version": "1.0.1",
"description": "Taking back the Internet",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -71,4 +71,7 @@ <!-- BANNER_TPL_BEGIN -->

```
# install various daplie scripts to /usr/local/bin
curl -sL https://daplie.me/install-scripts | bash
# install node.js 4.3 or greater
curl -sL bit.ly/nodejs-dev-install -o node-dev; bash ./node-dev
daplie-install-node-dev

@@ -95,4 +98,15 @@ # install daplie-tools

# Choosing your provider for testing
Use the `--provider` option to choose which identity issuer and resource audience you will be using:
(the default is oauth3.org)
```bash
daplie --provider daplie.me domains:list
```
# Walkthroughs & FAQs
* [Can I see a full list of daplie tools and their commands?](daplie-tools-list.md)
* [How do I get a **`daplie.me` domain**?](#get-a-daplieme-subdomain)

@@ -99,0 +113,0 @@

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