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

@openstax/highlighter

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openstax/highlighter - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

2

package.json
{
"name": "@openstax/highlighter",
"version": "1.1.4",
"version": "1.1.5",
"main": "dist/highlighter.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -51,8 +51,5 @@ # Highlighter

# increment version (this updates package.json and makes a git tag)
yarn version [--minor|--major|--patch]
# push to npm (this updates package.json and makes a git tag)
yarn publish [--minor|--major|--patch]
# push to npm
yarn publish --new-version=$(yarn -s current)
# push to github

@@ -59,0 +56,0 @@ git push origin v$(yarn -s current)

@@ -51,3 +51,3 @@ import Highlight, {FOCUS_CSS} from './Highlight';

public getReferenceElement(id: string): HTMLElement | null {
return this.container.querySelector(`#${id}`);
return this.container.querySelector(`[id="${id}"]`);
}

@@ -54,0 +54,0 @@

@@ -5,2 +5,5 @@ var path = require('path');

entry: './src/index.js',
optimization: {
minimize: false // disable minimazation since it's a library
},
output: {

@@ -12,10 +15,2 @@ path: path.resolve(__dirname, 'dist'),

},
externals: {
lodash: {
commonjs: 'lodash',
commonjs2: 'lodash',
amd: 'lodash',
root: '_'
}
},
resolve: {

@@ -22,0 +17,0 @@ extensions: ['.js', '.ts']

Sorry, the diff of this file is too big to display

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