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

contentful-parsers

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-parsers - npm Package Compare versions

Comparing version 0.2.16 to 0.2.17

24

package.json
{
"name": "contentful-parsers",
"version": "0.2.16",
"version": "0.2.17",
"description": "Library of useful parsers to use when working with Contentful API responses.",

@@ -48,13 +48,13 @@ "repository": "ryanhefner/contentful-parsers.git",

"dependencies": {
"@babel/runtime": "^7.10.5"
"@babel/runtime": "^7.11.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/core": "^7.11.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.1.0",
"babel-jest": "^26.2.2",
"babel-plugin-dev-expression": "^0.2.2",

@@ -64,9 +64,9 @@ "babel-plugin-transform-react-remove-prop-types": "^0.4.24",

"coveralls": "^3.1.0",
"dtslint": "^3.6.12",
"dtslint": "^3.6.14",
"greenkeeper-lockfile": "^1.15.1",
"gzip-size": "^5.1.1",
"jest": "^26.1.0",
"jest": "^26.2.2",
"pretty-bytes": "^5.3.0",
"regenerator-runtime": "^0.13.5",
"rollup": "^2.21.0",
"regenerator-runtime": "^0.13.7",
"rollup": "^2.23.0",
"rollup-plugin-babel": "^4.4.0",

@@ -77,3 +77,3 @@ "rollup-plugin-commonjs": "^10.1.0",

"rollup-plugin-uglify": "^6.0.4",
"typescript": "^3.9.6"
"typescript": "^3.9.7"
},

@@ -80,0 +80,0 @@ "jest": {

@@ -1,6 +0,6 @@

/*! contentful-parsers v0.2.16 | (c) 2020 Ryan Hefner | MIT License | https://github.com/ryanhefner/contentful-parsers.git !*/
/*! contentful-parsers v0.2.17 | (c) 2020 Ryan Hefner | MIT License | https://github.com/ryanhefner/contentful-parsers.git !*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global['contentful-parsers'] = {}));
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['contentful-parsers'] = {}));
}(this, (function (exports) { 'use strict';

@@ -7,0 +7,0 @@

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self)["contentful-parsers"]={})}(this,function(e){"use strict";e.fieldsParser=function(e,o){function s(e){return"object"==typeof e&&e.hasOwnProperty("sys")&&1===Object.keys(e).length}function d(t,e,n,i){if(void 0===n&&(n={}),void 0===i&&(i=0),!t||"object"!=typeof t)return n;if(i>=o.include)return n;var r=Object.assign({},n);return Object.keys(t).forEach(function(e){r[e]=t[e].fields?d(t[e].fields,t[e].sys,r[e],i+1):function t(e,n){return void 0===n&&(n=0),s(e)?null:Array.isArray(e)?e.filter(function(e){return!s(e)}).map(function(e){return e&&"object"==typeof e&&e.fields?d(e.fields,e.sys,{},n+1):t(e,n+1)}):e}(t[e],i+1)}),e&&e.contentType&&e.contentType.sys&&e.contentType.sys.id&&(r.id=e.id,r.__typename=e.contentType.sys.id),e&&e.updatedAt&&(r.updatedAt=e.updatedAt),e&&e.createdAt&&(r.createdAt=e.createdAt),r}return void 0===o&&(o={include:10}),d(e.fields,e.sys)},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["contentful-parsers"]={})}(this,function(e){"use strict";e.fieldsParser=function(e,s){function r(e){return"object"==typeof e&&e.hasOwnProperty("sys")&&1===Object.keys(e).length}function d(t,e,n,i){if(void 0===n&&(n={}),void 0===i&&(i=0),!t||"object"!=typeof t)return n;if(i>=s.include)return n;var o=Object.assign({},n);return Object.keys(t).forEach(function(e){o[e]=t[e].fields?d(t[e].fields,t[e].sys,o[e],i+1):function t(e,n){return void 0===n&&(n=0),r(e)?null:Array.isArray(e)?e.filter(function(e){return!r(e)}).map(function(e){return e&&"object"==typeof e&&e.fields?d(e.fields,e.sys,{},n+1):t(e,n+1)}):e}(t[e],i+1)}),e&&e.contentType&&e.contentType.sys&&e.contentType.sys.id&&(o.id=e.id,o.__typename=e.contentType.sys.id),e&&e.updatedAt&&(o.updatedAt=e.updatedAt),e&&e.createdAt&&(o.createdAt=e.createdAt),o}return void 0===s&&(s={include:10}),d(e.fields,e.sys)},Object.defineProperty(e,"__esModule",{value:!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