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

eslint-plugin-inker

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-inker - npm Package Compare versions

Comparing version 2.6.1 to 2.6.2

74

dist/rules/enforce-import-name.js

@@ -20,2 +20,6 @@ "use strict";

},
required: [
'imported',
'local',
],
},

@@ -25,43 +29,49 @@ };

meta: {
schema: [
{
type: 'object',
properties: {
paths: {
type: 'array',
items: {
type: 'object',
oneOf: [
{
properties: {
name: {
type: 'string',
},
importNames: importNamesSchema,
schema: {
type: 'object',
properties: {
paths: {
type: 'array',
items: {
type: 'object',
oneOf: [
{
properties: {
name: {
type: 'string',
},
importNames: importNamesSchema,
},
{
properties: {
pattern: {
oneOf: [
{
required: [
'name',
'importNames',
],
},
{
properties: {
pattern: {
oneOf: [
{
type: 'string',
},
{
type: 'array',
items: {
type: 'string',
},
{
type: 'array',
items: {
type: 'string',
},
},
],
},
importNames: importNamesSchema,
},
],
},
importNames: importNamesSchema,
},
],
},
required: [
'pattern',
'importNames',
],
},
],
},
},
},
],
},
},

@@ -68,0 +78,0 @@ create(context) {

{
"name": "eslint-plugin-inker",
"version": "2.6.1",
"version": "2.6.2",
"description": "",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

@@ -52,2 +52,6 @@ // eslint-disable-next-line import/no-extraneous-dependencies

},
required: [
'imported',
'local',
],
},

@@ -58,43 +62,49 @@ }

meta: {
schema: [
{
type: 'object',
properties: {
paths: {
type: 'array',
items: {
type: 'object',
oneOf: [
{
properties: {
name: {
type: 'string',
},
importNames: importNamesSchema,
schema: {
type: 'object',
properties: {
paths: {
type: 'array',
items: {
type: 'object',
oneOf: [
{
properties: {
name: {
type: 'string',
},
importNames: importNamesSchema,
},
{
properties: {
pattern: {
oneOf: [
{
required: [
'name',
'importNames',
],
},
{
properties: {
pattern: {
oneOf: [
{
type: 'string',
},
{
type: 'array',
items: {
type: 'string',
},
{
type: 'array',
items: {
type: 'string',
},
},
],
},
importNames: importNamesSchema,
},
],
},
importNames: importNamesSchema,
},
],
},
required: [
'pattern',
'importNames',
],
},
],
},
},
},
],
},
},

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