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

contentful

Package Overview
Dependencies
Maintainers
5
Versions
450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

browser.js

6

dist/create-http-client.js

@@ -17,5 +17,5 @@ 'use strict';

var _package = require('../package.json');
var _version = require('../version');
var _package2 = _interopRequireDefault(_package);
var _version2 = _interopRequireDefault(_version);

@@ -47,3 +47,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

headers['Content-Type'] = 'application/vnd.contentful.delivery.v1+json';
headers['X-Contentful-User-Agent'] = 'contentful.js/' + _package2.default.version;
headers['X-Contentful-User-Agent'] = 'contentful.js/' + _version2.default;

@@ -50,0 +50,0 @@ if (process && process.release && process.release.name === 'node') {

@@ -14,3 +14,3 @@ {

"clean": "rimraf dist && rimraf browser-dist && rimraf coverage && rimraf out",
"build": "npm run clean && babel lib --out-dir dist && npm run build:optimize",
"build": "npm run clean && npm run vendor && babel lib --out-dir dist && npm run build:optimize",
"build:optimize": "webpack -p && ccjs browser-dist/contentful.js --compilation_level=ADVANCED_OPTIMIZATIONS > browser-dist/contentful.min.js",

@@ -20,3 +20,3 @@ "docs:build": "jsdoc -r -c jsdoc.json dist",

"docs:watch": "watchy -w lib,jsdoc-template npm run docs:dev",
"docs:publish": "npm run docs:build && ./publish-docs.sh",
"docs:publish": "npm run docs:build && ./bin/publish-docs.sh",
"test:ci": "npm run test:cover && npm run test:integration && if [ \"$TRAVIS_NODE_VERSION\" = \"5.0\" ] ; then npm run test:browser-remote; fi",

@@ -29,4 +29,6 @@ "test:cover": "BABEL_ENV=test babel-node ./node_modules/istanbul/lib/cli.js cover test/runner",

"test:browser-remote": "BABEL_ENV=test ./node_modules/.bin/karma start karma.conf.saucelabs.js",
"vendor": "npm run vendor:node && npm run vendor:browser && npm run vendor:version",
"vendor:node": "rimraf vendor-node && mkdirp vendor-node && babel node_modules/axios/lib/ --out-dir vendor-node/",
"vendor:browser": "rimraf vendor-browser && mkdirp vendor-browser && babel node_modules/axios/dist/axios.js --out-file vendor-browser/axios.js",
"vendor:version": "echo \"module.exports = '`cat package.json|json version`'\" > version.js",
"browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",

@@ -41,3 +43,5 @@ "prepublish": "in-publish && npm run build || not-in-publish",

"files": [
"browser.js",
"index.js",
"version.js",
"dist",

@@ -50,2 +54,3 @@ "browser-dist",

"babel-runtime": "^6.3.19",
"follow-redirects": "0.0.7",
"lodash": "^4.2.0"

@@ -70,2 +75,3 @@ },

"jsdoc": "^3.4.0",
"json": "^9.0.3",
"json-loader": "^0.5.4",

@@ -95,3 +101,3 @@ "karma": "^0.13.21",

},
"version": "3.0.3"
"version": "3.0.4"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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