Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

open-graph-scraper

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

open-graph-scraper - npm Package Compare versions

Comparing version 5.0.5 to 5.1.0

dist/index.js

6

CHANGELOG.md
# Change Log
## 5.1.0
- Convert source code to typescript
- Changing `response.body` to be a `string` and `response.rawBody` to be a `buffer`. They now match the `node` type for `response`.
- Updating Dependencies
## 5.0.5

@@ -4,0 +10,0 @@

33

package.json
{
"name": "open-graph-scraper",
"description": "Node.js scraper module for Open Graph and Twitter Card info",
"version": "5.0.5",
"version": "5.1.0",
"license": "MIT",
"main": "index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"types": "index.ts",
"scripts": {
"build:types": "npx -p typescript tsc",
"eslint:fix": "eslint . --ext .js --fix",
"eslint": "eslint . --ext .js",
"mocha:int": "mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/integration/**/*.spec.js\" --timeout 10000",
"mocha:unit": "nyc --reporter=html --reporter=text --exclude=tests/ mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/unit/**/*.spec.js\"",
"prepare": "npm run snyk-protect",
"build": "tsc",
"eslint:fix": "eslint . --ext .js,.ts --fix",
"eslint": "eslint . --ext .js,.ts",
"mocha:int": "ts-mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/integration/**/*.spec.js\" --timeout 10000",
"mocha:unit": "nyc --reporter=html --reporter=text --exclude=tests/ ts-mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/unit/**/*.spec.js\"",
"prepare": "npm run snyk-protect && npm run build",
"snyk-protect": "snyk-protect",

@@ -34,13 +34,15 @@ "test": "npm run mocha:unit && npm run mocha:int"

"files": [
"/dist",
"CHANGELOG.md",
"/dist",
"/lib"
"index.ts"
],
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.19.1",
"@snyk/protect": "^1.1096.0",
"@snyk/protect": "^1.1100.0",
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"chai": "^4.3.7",
"eslint": "^8.33.0",
"eslint": "^8.34.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.27.5",

@@ -53,2 +55,3 @@ "eslint-plugin-mocha": "^10.1.0",

"sinon": "^15.0.1",
"ts-mocha": "^10.0.0",
"tunnel": "^0.0.6",

@@ -55,0 +58,0 @@ "typescript": "^4.9.5"

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