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.2 to 2.6.3

80

dist/rules/enforce-import-name.js

@@ -27,46 +27,48 @@ "use strict";

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

@@ -76,3 +78,3 @@ },

},
},
],
create(context) {

@@ -79,0 +81,0 @@ var _a;

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

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

@@ -60,46 +60,48 @@ // eslint-disable-next-line import/no-extraneous-dependencies

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

@@ -109,3 +111,3 @@ },

},
},
],

@@ -112,0 +114,0 @@ create(context) {

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