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

eslint-plugin-civet

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-civet - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

12

dist/plugin-shared.js

@@ -9,2 +9,3 @@ // source/index.civet

function civet(options = { js: true }) {
options.outputExtension ??= ".jsx";
function preprocess(code, filename) {

@@ -18,3 +19,3 @@ const { code: text, sourceMap } = Civet.compile(code, {

sourceMaps.set(filename, sourceMap);
return [{ text, filename }];
return [{ text, filename: filename + options.outputExtension }];
}

@@ -85,10 +86,3 @@ function postprocess(_messages, filename) {

},
processor: "civet/civet",
languageOptions: {
parserOptions: {
ecmaFeatures: {
jsx: true
}
}
}
processor: "civet/civet"
};

@@ -95,0 +89,0 @@ function makeConfig(config) {

@@ -6,5 +6,5 @@ import {

// source/ts.civet
import {} from "@danielx/civet";
import ts from "typescript-eslint";
function civet2(options = { js: false }) {
options.outputExtension ??= ".tsx";
const plugin = civet(options);

@@ -11,0 +11,0 @@ function makeConfig(config) {

{
"name": "eslint-plugin-civet",
"type": "module",
"version": "0.0.1",
"version": "0.0.2",
"description": "ESLint plugin for Civet code",

@@ -21,2 +21,3 @@ "exports": {

"build": "civet --no-config esbuild.civet",
"prepublishOnly": "yarn build",
"test": "mocha"

@@ -23,0 +24,0 @@ },

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