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

@neonjungle/birdseed

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neonjungle/birdseed - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

18

forms/ajax.js

@@ -26,2 +26,12 @@ /**

getFetchOptions(formMethod) {
return {
method: formMethod,
credentials: 'same-origin',
headers: {
"X-Requested-With": "XMLHttpRequest"
},
}
}
fetchAndReplace() {

@@ -32,9 +42,3 @@ this.beforeFetch();

let formMethod = this.form.method ? this.form.method.toUpperCase() : "POST";
let fetchOptions = {
method: formMethod,
credentials: "same-origin",
headers: {
"X-Requested-With": "XMLHttpRequest"
},
}
let fetchOptions = this.getFetchOptions(formMethod);
let formAction = this.form.action;

@@ -41,0 +45,0 @@ const formData = new FormData(this.form)

{
"name": "@neonjungle/birdseed",
"version": "0.5.0",
"description": "Collection of handy utility methods for Neon Jungle",
"main": "",
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/neonjungle/birdseed.git"
},
"author": "Neon Jungle",
"license": "Copyright",
"bugs": {
"url": "https://gitlab.com/neonjungle/birdseedissues"
},
"homepage": "https://gitlab.com/neonjungle/birdseed#README",
"devDependencies": {
"prettier": "^1.14.3",
"prettier-stylelint": "^0.4.2",
"stylelint-csstree-validator": "^1.3.0"
},
"dependencies": {
"bowser": "^2.4.0",
"core-js": "^3.2.1"
},
"stylelint": {
"plugins": [
"stylelint-csstree-validator"
],
"extends": [
"./node_modules/prettier-stylelint/config.js"
],
"rules": {
"csstree/validator": true,
"indentation": "tab",
"string-quotes": "double"
}
},
"prettier": {
"useTabs": true
}
}
"name": "@neonjungle/birdseed",
"version": "0.5.1",
"description": "Collection of handy utility methods for Neon Jungle",
"main": "",
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/neonjungle/birdseed.git"
},
"author": "Neon Jungle",
"license": "Copyright",
"bugs": {
"url": "https://gitlab.com/neonjungle/birdseedissues"
},
"homepage": "https://gitlab.com/neonjungle/birdseed#README",
"devDependencies": {
"prettier": "^1.14.3",
"prettier-stylelint": "^0.4.2",
"stylelint-csstree-validator": "^1.3.0"
},
"dependencies": {
"bowser": "^2.4.0",
"core-js": "^3.2.1"
},
"stylelint": {
"plugins": [
"stylelint-csstree-validator"
],
"extends": [
"./node_modules/prettier-stylelint/config.js"
],
"rules": {
"csstree/validator": true,
"indentation": "tab",
"string-quotes": "double"
}
},
"prettier": {
"useTabs": true
}
}
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