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

@patternslib/pat-code-editor

Package Overview
Dependencies
Maintainers
7
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternslib/pat-code-editor - npm Package Versions

2

4.0.1

Diff

Changelog

Source

4.0.1 (2022-12-12)

Bug Fixes

  • Add fallback for okaidia theme which exists in PrismJS but not in Highlight.js (6f5c9d8)

  • Await for styles import, otherwise theme might not be applied. (441033d)

Maintenance

  • Include dist/ and src/ in the npm package. (d96dc89)

  • Update demo - fully escape HTML example, remove debugging markup. (ae39fc2)

  • Use browserslist defaults. (5c0f314)

thet
published 4.0.0 •

Changelog

Source

4.0.0 (2022-12-08)

Features

  • Build: Include the build in the npm package. (f14bd97)The compiled build is now included in npm packages by including the dist directory in .npmignore. To not increase the package size too much the JavaScript map files are not included. Now you can include Patternslib by using unpkg or jsDelivr like so:

https://unpkg.com/@patternslib/pat-code-editor@4.0.0/dist/bundle.min.js or https://cdn.jsdelivr.net/npm/@patternslib/pat-code-editor@4.0.0/dist/bundle.min.js

Maintenance

  • Add HTML example to demo. (2c94b6c)

  • Update bundle in demo to correct URL. (4d14b05)

  • Update webpack and bundle config. (0ff2c88)

  • Upgrade to class based pattern. (e7ebe0b)

Breaking Changes

  • Re-implement using highlight.js. (9b3fb47)
thet
published 3.0.0 •

Changelog

Source

3.0.0 (2022-06-28)

Maintenance

  • @patternslib/patternslib needs to be installed. Adding to devDependencies to avoid version clashes with other packages depending on it. (acad414)

  • Upgrade to @patternslib/dev 2.2.0 and adapt module federation config. (095ae11)

thet
published 3.0.0-alpha.0 •

Changelog

Source

3.0.0-alpha.0 (2022-06-15)

Features

  • Build: Build module federation enabled bundles. (55c279a)

Breaking Changes

  • Depend on @patternslib/dev and extend config from there. (e5fa5fb)

  • Extend babel config from @patternslib/dev. (0953950)

  • Extend commitlint config from @patternslib/dev. (d60483d)

  • Extend eslint config from @patternslib/dev. (c81f0b8)

  • Extend jest config from @patternslib/dev. (e0261e9)

  • Extend Makefile from @patternslib/dev. (88f26d6)

  • Extend prettier config from @patternslib/dev. (6967292)

  • Extend release-it config from @patternslib/dev. (f5f6667)

  • Extend webpack config from @patternslib/dev. (6f50d8d)

Maintenance

  • build: Add build:dev script to package.json to create a unminified development build. (74b25b9)

  • Build: @patternslib/patternslib as peerDependency. (6fb7778)Move @patternslib/patternslib dependency to peerDependencies and set to any version to avoid version conflicts when this package is a dependency of another Patternslib based package.

  • Build: Add @patternslib/patternslib also to devDependencies so that we get it installed. (afd04d6)

  • Build: Add keyword "patternslib" to package.json. (9edac4c)

  • Build: Extend jest.config.js from Patternslib and reuse their setupTests file too. (3f2fcd0)

  • Build: Keep yarn.lock in repository. (5762dab)

  • Build: Makefile - Allow OTP when publishing to npm, build bundles and publish them on GitHub, add pre-release targets. (9fabaea)

  • Build: Remove dependency regenerator-runtime except from test setup. The async/await runtime handling is already built-in in current Babel. (2ed4cb2)

  • Build: Update GitHub actions setup. (3a8bbab)

  • Build: Upgrade and cleanup dependencies. (20fb5db)

  • Build: Upgrade codejar and prismjs. (663e3b6)

thet
published 2.1.2 •

Changelog

Source

2.1.2 (2022-04-09)

Bug Fixes

  • Dispatch input event after content has changed. This is also necessary for pat-autosubmit to work. (602fd86)### 2.1.1 (2022-03-30)

Bug Fixes

  • Fix demo for correct bundle location. (88fafab)

  • Set the editor to display-block to always show a cursor, even with not contents. (3b32570)

Maintenance

  • Add but don't use code-editor.scss which should show line-numbers but is not working yet. (e6989ef)

  • Upgrade dependencies. (8228097)

  • webpack: Configure devServer static directory. (b9ef4c7)## 2.1.0 (2021-12-03)

Bug Fixes

  • Deactivate line numbers - They do not work nicely with a <pre><code> structure yet. (250149f)

  • Escape HTML when initializing the editor. (dcef878)

  • Fix the tab option and allow tabs as \t and spaces in quotes as values. (a01aedb)

Maintenance

  • Better examples. (b2bcb31)

  • dependencies: Upgrade dependencies. (82ce7fb)

  • dependencies: Upgrade Patternslib to 6.2.0 due to dependency on escape/unescape utility methods. (6e14809)

  • tests: Improve tests. (19f9c2e)

thet
published 2.1.1 •

Changelog

Source

2.1.2 (2022-04-09)

Bug Fixes

  • Dispatch input event after content has changed. This is also necessary for pat-autosubmit to work. (602fd86)### 2.1.1 (2022-03-30)

Bug Fixes

  • Fix demo for correct bundle location. (88fafab)

  • Set the editor to display-block to always show a cursor, even with not contents. (3b32570)

Maintenance

  • Add but don't use code-editor.scss which should show line-numbers but is not working yet. (e6989ef)

  • Upgrade dependencies. (8228097)

  • webpack: Configure devServer static directory. (b9ef4c7)## 2.1.0 (2021-12-03)

Bug Fixes

  • Deactivate line numbers - They do not work nicely with a <pre><code> structure yet. (250149f)

  • Escape HTML when initializing the editor. (dcef878)

  • Fix the tab option and allow tabs as \t and spaces in quotes as values. (a01aedb)

Maintenance

  • Better examples. (b2bcb31)

  • dependencies: Upgrade dependencies. (82ce7fb)

  • dependencies: Upgrade Patternslib to 6.2.0 due to dependency on escape/unescape utility methods. (6e14809)

  • tests: Improve tests. (19f9c2e)

thet
published 2.1.0 •

thet
published 2.0.0 •

Changelog

Source

2.0.0 (2021-11-17)

Breaking Changes

Maintenance

  • build: Extend Patternslib release-it config file. (b017c64)

  • build: Release on GitHub releases. (dcd3718)

thet
published 1.2.0 •

Changelog

Source

1.2.0 (2021-09-22)

Maintenance

  • Align with build changes from Patternslib v5. (1d6cf58)
  • Set json also to 4-space indentation. (c9cf8ef)
  • Upgrade dependencies. (95d899e)
  • Use babel config from Patternslib directly. (7da4f83)
thet
published 1.1.0 •

Changelog

Source

1.1.0 (2021-06-15)

Maintenance

  • Test updates after jest upgrade. (728fb34)
  • dependencies: Depend on Patternslib v4.4.0. (05d6d16)
  • dependencies: Upgrade dependencies on minor+patch level. (f40a3a4)
  • webpack: Adapt start script to recent dependency changes. (3815a2d)
  • webpack: Simplify webpack. (422d190)
2
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