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

hoodie-plugin-appconfig

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoodie-plugin-appconfig - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

15

admin-dashboard/assets/js/appconfig.js
$(function () {
var hoodieAdmin = top.hoodieAdmin;
var getConfig = _.partial(couchr.get, '/_api/app/config');
var setConfig = _.partial(couchr.put, '/_api/app/config');
function getConfig(callback) {
hoodieAdmin.request('GET', '/app/config')
.fail(function(error) { callback(error); })
.done(function(response) { callback(null, response); })
}
function setConfig(doc, callback) {
hoodieAdmin.request('PUT', '/app/config', {
data: JSON.stringify(doc)
})
.fail(function(error) { callback(error); })
.done(function(response) { callback(null, response); })
}

@@ -6,0 +17,0 @@ function updateConfig(obj, callback) {

<a name="2.0.0"></a>
## 2.0.0 (2014-10-08)
#### Bug Fixes
* use hoodieAdmin for requests instead of jQuery, due to bearer token logic ([00bd7764](https://github.com/hoodiehq/hoodie-plugin-appconfig/commit/00bd7764d3337c6ab8bf762383019dca746e38cb))
<a name="2.0.0"></a>
## 2.0.0 (2014-07-14)

@@ -3,0 +12,0 @@

13

Gruntfile.js
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-release-hoodie');
grunt.initConfig({
release: {
options: {
bump: {
files: ['package.json'],
commitFiles: ['package.json', 'CHANGELOG.md']
},
tasks: ['changelog']
}
}
});
grunt.registerTask('ci', ['integration-test']);
};

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

"dependencies": {},
"version": "2.0.0",
"version": "2.0.1",
"repository": {

@@ -16,7 +16,7 @@ "type": "git",

"grunt": "^0.4.5",
"grunt-release-hoodie": "^1.3.0"
"grunt-release-hoodie": "^2.5.0"
},
"scripts": {
"test": "echo Don't mind me. I'm here for deployments only..."
"test": "grunt ci"
}
}

Sorry, the diff of this file is not supported yet

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