pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/nodejs/postject/pull/102/files

ubassets.com/assets/primer-primitives-7f694b60439d06c0.css" /> fix: typos by NathanBaulch · Pull Request #102 · nodejs/postject · GitHub
Skip to content
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
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Options:
-h, --help display help for command
```

### Using Programatically
### Using Programmatically

```js
const { inject } = require('postject');
Expand Down Expand Up @@ -67,7 +67,7 @@ $ npm test

## Design

To ensure maximum capatibility and head off unforeseen issues, the
To ensure maximum compatibility and head off unforeseen issues, the
implementation for each format tries to use that format's standard
practices for embedding binary data. As such, it should be possible
to embed the binary data at build-time as well. The CLI provides the
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ await $`esbuild api.js --bundle --platform=node --outfile=../dist/api.js`;
await fs.copy("../src/cli.js", "../dist/cli.js");
await fs.copy("../postject-api.h", "../dist/postject-api.h");

// Repace all occurrences of `__filename` and `__dirname` with "" because
// Replace all occurrences of `__filename` and `__dirname` with "" because
// Node.js core doesn't support it. These uses are functionally dead when
// `SINGLE_FILE` is enabled anyways.
// Refs: https://github.com/postmanlabs/postject/issues/50
Expand Down
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async function inject(filename, resourceName, resourceData, options) {

if (firstSentinel !== lastSentinel) {
throw new Error(
`Multiple occurences of sentinel "${sentinelFuse}" found in the binary`
`Multiple occurrences of sentinel "${sentinelFuse}" found in the binary`
);
}

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy