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

ignorepatterns

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignorepatterns - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0-next.1574017966.7b47fdc15b3f6d7da24026e4cb9214e23009eb9b

edition-node-13/index.js

48

edition-node-0.12/index.js

@@ -1,9 +0,39 @@

// Generated by CoffeeScript 2.4.1
// Paths that start with something
// Paths that end with something
// Paths that start with a dot and end with something
// Paths that match any of the following
module.exports = /^((~|\.\#).*|.*(~|\.swp)|\.(svn|git|hg|DS_Store)|node_modules|CVS|thumbs\.db|desktop\.ini)$/i; // vim, gedit, etc
// emacs
// vim, gedit, etc
// vi
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _default = /^((~|\.#).*|.*(~|\.swp)|\.(svn|git|hg|DS_Store)|node_modules|CVS|thumbs\.db|desktop\.ini)$/i;
/*
^(
# Paths that start with something
(
~| # vim, gedit, etc
\.# # emacs
).*|
# Paths that end with something
.*(
~| # vim, gedit, etc
\.swp # vi
)|
# Paths that start with a dot and end with something
\.(
svn|
git|
hg|
DS_Store
)|
# Paths that match any of the following
node_modules|
CVS|
thumbs\.db|
desktop\.ini
)$
*/
exports.default = _default;
module.exports = exports.default;
# History
## v1.4.0 2019 November 18
- Converted from CoffeeScript to TypeScript
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v1.3.0 2019 November 13

@@ -4,0 +9,0 @@

2

index.js
'use strict'
/** @type {typeof import("./source/index.coffee") } */
/** @type {typeof import("./source/index.ts") } */
module.exports = require('editions').requirePackage(__dirname, require)
{
"title": "Common Ignore Patterns",
"name": "ignorepatterns",
"version": "1.3.0",
"version": "1.4.0-next.1574017966.7b47fdc15b3f6d7da24026e4cb9214e23009eb9b",
"description": "A regular expression that matches common filenames that we want to ignore",

@@ -64,8 +64,8 @@ "homepage": "https://github.com/bevry/ignorepatterns",

{
"description": "coffeescript source code with require for modules",
"description": "typescript source code with import for modules",
"directory": "source",
"entry": "index.coffee",
"entry": "index.ts",
"tags": [
"coffeescript",
"require"
"typescript",
"import"
],

@@ -75,12 +75,11 @@ "engines": false

{
"description": "coffeescript compiled for node.js with require for modules",
"directory": "edition-esnext",
"description": "typescript compiled for node.js 13 with require for modules",
"directory": "edition-node-13",
"entry": "index.js",
"tags": [
"javascript",
"esnext",
"require"
],
"engines": {
"node": "6 || 8 || 10 || 12 || 13",
"node": "4 || 6 || 8 || 10 || 12 || 13",
"browsers": false

@@ -90,16 +89,3 @@ }

{
"description": "coffeescript compiled for browsers with require for modules",
"directory": "edition-browsers",
"entry": "index.js",
"tags": [
"javascript",
"require"
],
"engines": {
"node": false,
"browsers": "defaults"
}
},
{
"description": "coffeescript compiled for node.js 0.12 with require for modules",
"description": "typescript compiled for node.js 0.12 with require for modules",
"directory": "edition-node-0.12",

@@ -117,4 +103,4 @@ "entry": "index.js",

],
"types": "source/index.ts",
"main": "index.js",
"browser": "edition-browsers/index.js",
"dependencies": {

@@ -126,19 +112,33 @@ "editions": "^2.2.0"

"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-typescript": "^7.7.2",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"assert-helpers": "4.10.0",
"babel-plugin-add-module-exports": "^1.0.2",
"coffeelint": "^2.1.0",
"coffeescript": "^2.4.1",
"eslint": "^6.6.0",
"eslint-config-bevry": "^1.2.1",
"eslint-config-prettier": "^6.6.0",
"eslint-plugin-prettier": "^3.1.1",
"kava": "^3.2.0",
"prettier": "^1.19.1",
"projectz": "^1.10.0",
"valid-directory": "^1.0.0"
"surge": "^0.21.3",
"typedoc": "^0.15.2",
"typescript": "^3.7.2",
"valid-directory": "^1.1.1"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-esnext && npm run our:compile:edition-node-0.12",
"our:compile:edition-browsers": "env BABEL_ENV=edition-browsers coffee -bcto ./edition-browsers/ ./source",
"our:compile:edition-esnext": "coffee -bco ./edition-esnext ./source",
"our:compile:edition-node-0.12": "env BABEL_ENV=edition-node-0.12 coffee -bcto ./edition-node-0.12/ ./source",
"our:compile": "npm run our:compile:edition-node-0.12 && npm run our:compile:edition-node-13",
"our:compile:edition-node-0.12": "env BABEL_ENV=edition-node-0.12 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-0.12 ./source",
"our:compile:edition-node-13": "env BABEL_ENV=edition-node-13 babel --extensions \".ts,.tsx\" --out-dir ./edition-node-13 ./source",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:projectz",
"our:meta": "npm run our:meta:docs && npm run our:meta:projectz",
"our:meta:docs": "npm run our:meta:docs:typedoc",
"our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source",
"our:meta:projectz": "projectz compile",

@@ -154,11 +154,23 @@ "our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",

"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:coffeelint && npm run our:verify:directory",
"our:verify": "npm run our:verify:coffeelint && npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:typescript",
"our:verify:coffeelint": "coffeelint ./source",
"our:verify:directory": "npx valid-directory",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:prettier": "prettier --write ./source/**",
"our:verify:typescript": "tsc --noEmit --project .",
"test": "node ./test.js"
},
"eslintConfig": {
"extends": [
"bevry"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"babel": {
"env": {
"edition-browsers": {
"sourceType": "script",
"edition-node-13": {
"sourceType": "module",
"presets": [

@@ -168,13 +180,18 @@ [

{
"targets": "defaults",
"targets": {
"node": "13"
},
"modules": "commonjs"
}
]
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/proposal-object-rest-spread"
"@babel/proposal-object-rest-spread",
"@babel/proposal-class-properties",
"add-module-exports"
]
},
"edition-node-0.12": {
"sourceType": "script",
"sourceType": "module",
"presets": [

@@ -189,6 +206,9 @@ [

}
]
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/proposal-object-rest-spread"
"@babel/proposal-object-rest-spread",
"@babel/proposal-class-properties",
"add-module-exports"
]

@@ -195,0 +215,0 @@ }

@@ -45,10 +45,2 @@ <!-- TITLE/ -->

<a href="https://jspm.io" title="Native ES Modules CDN"><h3>jspm</h3></a>
``` html
<script type="module">
import * as pkg from '//dev.jspm.io/ignorepatterns'
</script>
```
<h3><a href="https://editions.bevry.me" title="Editions are the best way to produce and consume packages you care about.">Editions</a></h3>

@@ -59,6 +51,5 @@

<ul><li><code>ignorepatterns</code> aliases <code>ignorepatterns/index.js</code> which uses <a href="https://editions.bevry.me" title="Editions are the best way to produce and consume packages you care about.">Editions</a> to automatically select the correct edition for the consumers environment</li>
<li><code>ignorepatterns/source/index.coffee</code> is coffeescript source code with require for modules</li>
<li><code>ignorepatterns/edition-esnext/index.js</code> is coffeescript compiled for node.js with require for modules</li>
<li><code>ignorepatterns/edition-browsers/index.js</code> is coffeescript compiled for browsers with require for modules</li>
<li><code>ignorepatterns/edition-node-0.12/index.js</code> is coffeescript compiled for node.js 0.12 with require for modules</li></ul>
<li><code>ignorepatterns/source/index.ts</code> is typescript source code with import for modules</li>
<li><code>ignorepatterns/edition-node-13/index.js</code> is typescript compiled for node.js 13 with require for modules</li>
<li><code>ignorepatterns/edition-node-0.12/index.js</code> is typescript compiled for node.js 0.12 with require for modules</li></ul>

@@ -65,0 +56,0 @@ <!-- /INSTALL -->

Sorry, the diff of this file is not supported yet

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