New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-simple-auth-devise

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-simple-auth-devise - npm Package Compare versions

Comparing version 0.6.4 to 0.6.6

app/initializers/simple-auth-devise.js

45

index.js

@@ -1,36 +0,15 @@

var path = require('path');
var fs = require('fs');
module.exports = {
name: 'Ember CLI Simple Auth Devise',
function EmberCLISimpleAuthDevise(project) {
this.project = project;
this.name = 'Ember CLI Simple Auth Devise';
}
included: function(app) {
this._super.included(app);
function unwatchedTree(dir) {
return {
read: function() { return dir; },
cleanup: function() { }
};
this.app.import(app.bowerDirectory + '/ember-simple-auth/simple-auth-devise.amd.js', {
exports: {
'simple-auth-devise/authenticators/devise': ['default'],
'simple-auth-devise/authorizers/devise': ['default'],
'simple-auth-devise/initializer': ['default']
}
});
}
}
EmberCLISimpleAuthDevise.prototype.treeFor = function included(name) {
var treePath = path.join('node_modules/ember-cli-simple-auth-devise', name + '-addon');
if (fs.existsSync(treePath)) {
return unwatchedTree(treePath);
}
};
EmberCLISimpleAuthDevise.prototype.included = function included(app) {
this.app = app;
this.app.import('vendor/ember-simple-auth/simple-auth-devise.amd.js', {
exports: {
'simple-auth-devise/authenticators/devise': ['default'],
'simple-auth-devise/authorizers/devise': ['default'],
'simple-auth-devise/initializer': ['default']
}
});
};
module.exports = EmberCLISimpleAuthDevise;

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.6.4",
"version": "0.6.6",
"description": "Include the Ember Simple Auth devise extension library into an Ember CLI application.",

@@ -12,2 +12,5 @@ "main": "index.js",

},
"ember-addon": {
"main": "index"
},
"keywords": [

@@ -20,3 +23,6 @@ "ember-addon"

},
"homepage": "https://github.com/simplabs/ember-cli-simple-auth-devise"
"homepage": "https://github.com/simplabs/ember-cli-simple-auth-devise",
"dependencies": {
"ember-cli-simple-auth": "0.6.6"
}
}

@@ -9,2 +9,4 @@ # Ember Simple Auth Devise

**Ember Simple Auth Devise requires at least Ember CLI 0.0.42.**
To install simply run

@@ -14,2 +16,3 @@

npm install --save-dev ember-cli-simple-auth-devise
ember generate ember-cli-simple-auth-devise
```

@@ -16,0 +19,0 @@

Sorry, the diff of this file is not supported yet

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