Socket
Socket
Sign inDemoInstall

@jsenv/eslint-config

Package Overview
Dependencies
56
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jsenv/eslint-config

[![npm package](https://img.shields.io/npm/v/@jsenv/eslint-config.svg)](https://www.npmjs.com/package/@jsenv/eslint-config)


Version published
Weekly downloads
50
decreased by-43.82%
Maintainers
2
Install size
229 kB
Created
Weekly downloads
 

Changelog

Source

37.0.0

  • Update plugins API
    • context argument is dead (all hooks now called with a single argument)
    • context can be accessed either with urlInfo.context or reference.ownerUrlInfo.context
    • reference.parentUrl becomes reference.ownerUrlInfo.url
    • Add reference.urlInfo
    • All context.referenceUtils moved to urlInfo.dependencies
    • Add methods on urlInfo .cook, .cookDependencies, .getWithoutSearchParam, .isUsed
    • Add methods on reference .remove, .inline
    • Add reference.astInfo
    • Add urlInfo.referenceToOthersSet
    • Add urlInfo.referenceFromOthersSet
    • Add urlInfo.firstReference
    • Add urlInfo.contentFinalized
    • Add urlInfo.graph
    • Add graph.rootUrlInfo
    • Add lazy getters on urlInfo.contentAst and urlInfo.contentEtag
    • urlInfo.url now readonly and frozen
    • reference.url now readonly and frozen
    • reference.prev and reference.next always set early to be accessible inside resolveReference and redirectReference hooks
    • inlining always create a dedicated urlInfo
  • Update versioning during build
    • now done using placeholders (no need to recook to inject versions)
  • Ensure side effect file are properly injected into relevant entry points and only once
  • Rename param used to hot reload ?hot (was ?hmr)
  • Ensure assert keyword is entirely removed when import assertions are not supported
  • Fix sourcemaps generation during build
  • Properly update file written in outDirectoryUrl when url info content is modified after being cooked
  • Improve code injection for side effect file, versioning and service worker
  • Code injected into HTML files respects indentation to be readable

Readme

Source

jsenv-eslint-config

npm package

FAQs

Last updated on 24 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc