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

@uniformdev/assets

Package Overview
Dependencies
Maintainers
11
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/assets - npm Package Compare versions

Comparing version 19.58.1-alpha.16 to 19.58.1

22

./dist/index.js

@@ -24,4 +24,3 @@ "use strict";

AssetClient: () => AssetClient,
UncachedAssetClient: () => UncachedAssetClient,
convertAssetToPutAsset: () => convertAssetToPutAsset
UncachedAssetClient: () => UncachedAssetClient
});

@@ -69,23 +68,6 @@ module.exports = __toCommonJS(src_exports);

};
// src/utils/assetConverter.ts
function convertAssetToPutAsset(asset) {
return {
asset: {
_id: asset.asset._id,
_dataResources: asset.asset._dataResources,
_name: asset.asset._name,
type: asset.asset.type,
title: asset.asset.title,
description: asset.asset.description,
file: asset.asset.file
},
projectId: asset.projectId
};
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
AssetClient,
UncachedAssetClient,
convertAssetToPutAsset
UncachedAssetClient
});

@@ -868,8 +868,2 @@ import { ApiClient, ClientOptions } from '@uniformdev/context/api';

/**
* Converts a content asset to a put content asset body that has only the properties expected to the PUT API.
* Removes things like author, stats, etc.
*/
declare function convertAssetToPutAsset(asset: AssetGetResponseSingle): AssetUpsertRequest;
export { Asset, AssetClient, AssetDeleteRequest, AssetGetRequest, AssetGetRequestList, AssetGetRequestSingle, AssetGetResponse, AssetGetResponseList, AssetGetResponseSingle, AssetUpsertRequest, UncachedAssetClient, convertAssetToPutAsset };
export { Asset, AssetClient, AssetDeleteRequest, AssetGetRequest, AssetGetRequestList, AssetGetRequestSingle, AssetGetResponse, AssetGetResponseList, AssetGetResponseSingle, AssetUpsertRequest, UncachedAssetClient };

@@ -40,22 +40,5 @@ // src/AssetClient.ts

};
// src/utils/assetConverter.ts
function convertAssetToPutAsset(asset) {
return {
asset: {
_id: asset.asset._id,
_dataResources: asset.asset._dataResources,
_name: asset.asset._name,
type: asset.asset.type,
title: asset.asset.title,
description: asset.asset.description,
file: asset.asset.file
},
projectId: asset.projectId
};
}
export {
AssetClient,
UncachedAssetClient,
convertAssetToPutAsset
UncachedAssetClient
};

@@ -24,4 +24,3 @@ "use strict";

AssetClient: () => AssetClient,
UncachedAssetClient: () => UncachedAssetClient,
convertAssetToPutAsset: () => convertAssetToPutAsset
UncachedAssetClient: () => UncachedAssetClient
});

@@ -69,23 +68,6 @@ module.exports = __toCommonJS(src_exports);

};
// src/utils/assetConverter.ts
function convertAssetToPutAsset(asset) {
return {
asset: {
_id: asset.asset._id,
_dataResources: asset.asset._dataResources,
_name: asset.asset._name,
type: asset.asset.type,
title: asset.asset.title,
description: asset.asset.description,
file: asset.asset.file
},
projectId: asset.projectId
};
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
AssetClient,
UncachedAssetClient,
convertAssetToPutAsset
UncachedAssetClient
});

6

package.json
{
"name": "@uniformdev/assets",
"version": "19.58.1-alpha.16+5b13596bc",
"version": "19.58.1",
"description": "Uniform Assets",

@@ -39,5 +39,5 @@ "license": "SEE LICENSE IN LICENSE.txt",

"dependencies": {
"@uniformdev/context": "19.58.1-alpha.16+5b13596bc"
"@uniformdev/context": "19.58.1"
},
"gitHead": "5b13596bc07ad3b8d3809122c9843d17e4a6f413"
"gitHead": "b889f843979b69f4d17fc6d12a95cc040d9975ad"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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