Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 1 vulnerabilities #5

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ config.local.js
test/test2.js
static/test
iframely-*.json

logs
node_modules083
node_modules2

Expand Down
8 changes: 8 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- request > form-data > async > lodash:
patched: '2020-05-01T06:19:55.194Z'
2 changes: 2 additions & 0 deletions iframelyRestart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
forever restartall
3 changes: 3 additions & 0 deletions iframelyStart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
[ -f ~/.forever/iframely.log ] && mv ~/.forever/iframely.log ~/.forever/iframely.log-`date +"%m-%d-%Y"`
forever start -l iframely.log server.js
3 changes: 3 additions & 0 deletions iframelyUpdate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
git pull
npm install
127 changes: 61 additions & 66 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,63 @@
{
"name": "iframely",
"version": "0.9.6",

"description": "oEmbed/2 gateway endpoint. Get embed data for various http links through one self-hosted API",
"keywords": ["oembed", "embed", "open graph", "og", "twitter cards"],
"homepage": "http://iframely.com",

"repository" : {
"type": "git",
"url": "https://github.com/itteco/iframely.git"
},

"bugs": {
"url": "https://github.com/itteco/iframely/issues"
},

"license": "MIT",

"dependencies": {

"jslint": "0.8",
"async": "1.4.2",
"underscore": "1.8.3",
"request": "2.72.x",
"express": "3.2.4",
"send": "0.1.0",
"connect": "2.7.9",
"ejs": "2.3.4",
"moment": "2.10.6",
"chokidar": "1.2.0",
"jsontoxml": "0.0.11",

"sax": "1.1.3",
"htmlparser2": "3.8.x",
"entities": "1.1.x",
"imagesize": "1.0.0",
"iconv-lite": "0.4.13",
"mimelib": "0.2",

"redis": "0.8.3",
"memcached": "2.2.*",
"node-cache": "1.0.3",

"readabilitySAX":"1.6.1",
"cheerio": "0.19.0",

"usage": "*"
},

"devDependencies": {
"vows": "~0.7.0",
"feedparser": "0.16",
"mongoose": "4.0.3"
},

"iframely-proxy-plugins": true,

"main": "./lib/core",

"scripts": {
"test": "vows test/main.js --isolate --spec"
},

"engines": {
"node": ">=0.10.21"
}
"name": "iframely",
"version": "0.9.6",
"description": "oEmbed/2 gateway endpoint. Get embed data for various http links through one self-hosted API",
"keywords": [
"oembed",
"embed",
"open graph",
"og",
"twitter cards"
],
"homepage": "http://iframely.com",
"repository": {
"type": "git",
"url": "https://github.com/itteco/iframely.git"
},
"bugs": {
"url": "https://github.com/itteco/iframely/issues"
},
"license": "MIT",
"dependencies": {
"jslint": "0.8",
"async": "1.4.2",
"underscore": "1.8.3",
"request": "2.72.x",
"express": "3.2.4",
"send": "0.1.0",
"connect": "2.7.9",
"ejs": "2.3.4",
"moment": "2.10.6",
"chokidar": "1.2.0",
"jsontoxml": "0.0.11",
"sax": "1.1.3",
"htmlparser2": "3.8.x",
"entities": "1.1.x",
"imagesize": "1.0.0",
"iconv-lite": "0.4.13",
"mimelib": "0.2",
"redis": "0.8.3",
"memcached": "2.2.*",
"node-cache": "1.0.3",
"readabilitySAX": "1.6.1",
"cheerio": "0.19.0",
"usage": "*",
"snyk": "^1.316.1"
},
"devDependencies": {
"vows": "~0.7.0",
"feedparser": "0.16",
"mongoose": "4.0.3"
},
"iframely-proxy-plugins": true,
"main": "./lib/core",
"scripts": {
"test": "vows test/main.js --isolate --spec",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"engines": {
"node": ">=0.10.21"
},
"snyk": true
}