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

@sanity/data-aspects

Package Overview
Dependencies
Maintainers
6
Versions
700
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/data-aspects - npm Package Compare versions

Comparing version 0.104.0 to 0.104.19

8

lib/DataAspectsResolver.js

@@ -7,2 +7,6 @@ 'use strict';

var _startCase2 = require('lodash/startCase');
var _startCase3 = _interopRequireDefault(_startCase2);
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

@@ -14,4 +18,2 @@

var _lodash = require('lodash');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -100,3 +102,3 @@

var type = this.getType(typeName);
return typeOption.displayName || type.title || (0, _lodash.startCase)(typeName);
return typeOption.displayName || type.title || (0, _startCase3.default)(typeName);
}

@@ -103,0 +105,0 @@

{
"name": "@sanity/data-aspects",
"version": "0.104.0",
"version": "0.104.19",
"description": "Sanity plugin which controls how your data is presented",

@@ -22,3 +22,4 @@ "main": "lib/DataAspectsResolver.js",

"devDependencies": {
"@sanity/check": "^0.104.0",
"@sanity/check": "^0.104.19",
"babel-plugin-lodash": "^3.2.11",
"rimraf": "^2.6.1"

@@ -25,0 +26,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