Socket
Socket
Sign inDemoInstall

@jsenv/url-meta

Package Overview
Dependencies
0
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

8.4.0

Diff

Changelog

Source

28.4.0

  • handle window.location in new URL() second arg
jsenv-admin
published 8.2.0 •

Changelog

Source

28.2.0

  • add "?as_js_classic_library" to consume js modules with a regular script tag
  • it is now possible to use the following query params in source files:
    • "?as_js_classic"
    • "?as_json_module"
    • "?as_css_module"
    • "?as_text_module"
    • "?as_js_classic_library"
  • Create a relationship with source file when a file is referenced with a query params from the list above (means hot reload and cache invalidation work as expected)
  • preserve preload links when css becomes js
  • update @jsenv/log to add logger.level
  • improve build debug logs
  • auto removal of preload link is now a "info" log instead of "warning" when it happens because file is bundled
  • use same transpilation levels between main thread and workers in case some code is shared
  • fix sourcemap source ENOENT on chrome
  • reference.searchParams is now available during "redirectUrl" hook
  • rework "as js classic" set of plugins to split how and when the query params are handled and the conversion is done
jsenv-admin
published 8.1.0 •

Changelog

Source

28.1.0

  • htmlSupervisor renamed supervisor
  • allow multiple errors during execution
    • update how error are logged during tests
  • display error overlay on unhandled rejection
  • add logRefresh to executeTestPlan
  • add more stories in dev errors
  • update @jsenv/assert output
  • fix worker type module on firefox during dev
  • fix data url handling during dev
  • fix collectFiles in @jsenv/filesystem when path contains special chars
  • stop generating coverage for this repository (I am not using this anymore it's a waste of ressources to compute it)
jsenv-admin
published 8.0.0 •

Changelog

Source

38.0.0

  • bundling and minification enabled by default during build
  • Improve and fix autoreload on inline content (like css in js)
  • Fix several cases where js module fallback was missing or superflous
  • Correct output for code shared between main document and worker(s)
  • Prevent double injection of side effect files into worker entry points
jsenv-admin
published 7.1.0 •

Changelog

Source

37.1.0

  • Fix autoreload during dev
  • Add urlInfo.contentLength
jsenv-admin
published 7.0.2 •

jsenv-admin
published 7.0.1 •

jsenv-admin
published 7.0.0 •

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
jsenv-admin
published 6.2.1 •

dmail
published 6.2.0 •

Changelog

Source

36.2.0

  • Change internal packages structure
  • Ensure document.adoptedStyleSheets, globalThis and regeneratorRuntime polyfill injection in js classic
23Next
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