Socket
Socket
Sign inDemoInstall

@sanity/data-aspects

Package Overview
Dependencies
Maintainers
6
Versions
698
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.0.2 to 0.0.3

2

lib/DataAspectsResolver.js

@@ -131,3 +131,3 @@ 'use strict';

var constraints = this.getListConstraints(typeName);
var selection = '"' + keyForId + '": .$id, "' + keyForDisplayFieldName + '": .' + fieldName;
var selection = '"' + keyForId + '": _id, "' + keyForDisplayFieldName + '": ' + fieldName;
return this.schema.name + '.' + typeName + ' [' + constraints + '] {' + selection + '}';

@@ -134,0 +134,0 @@ }

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

@@ -29,5 +29,5 @@ "main": "lib/DataAspectsResolver.js",

"babel-preset-react": "^6.5.0",
"eslint": "^2.12.0",
"eslint-config-sanity": "^1.1.1",
"eslint-plugin-react": "^5.1.1",
"eslint": "^3.7.1",
"eslint-config-sanity": "^1.1.3",
"eslint-plugin-react": "^6.4.1",
"rimraf": "^2.5.2"

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