New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

object-shape-tester

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-shape-tester - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

5

dist/define-shape/define-shape.js

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

import { isShapeDefinitionKey } from './shape-specifiers.js';
import { isShapeDefinition, isShapeDefinitionKey } from './shape-specifiers.js';
import { shapeToDefaultValue } from './shape-to-default-value.js';

@@ -27,2 +27,5 @@ export { shapeToDefaultValue } from './shape-to-default-value.js';

export function defineShape(shape, isReadonly = false) {
if (isShapeDefinition(shape)) {
return shape;
}
const shapeDefinition = {

@@ -29,0 +32,0 @@ shape,

2

package.json
{
"name": "object-shape-tester",
"version": "5.1.2",
"version": "5.1.3",
"description": "Test object properties and value types.",

@@ -5,0 +5,0 @@ "keywords": [

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